mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Fixes vermin infestation event not working right sometimes
This commit is contained in:
@@ -57,8 +57,14 @@
|
||||
for(var/areapath in typesof(spawn_area_type))
|
||||
var/area/A = locate(areapath)
|
||||
for(var/turf/simulated/floor/F in A.contents)
|
||||
if(turf_clear(F))
|
||||
//VOREStation Edit - Fixes event
|
||||
var/blocked = FALSE
|
||||
for(var/atom/movable/AM in F)
|
||||
if(AM.density)
|
||||
blocked = TRUE
|
||||
if(!blocked)
|
||||
turfs += F
|
||||
//VOREStation Edit - Fixes event
|
||||
|
||||
var/list/spawn_types = list()
|
||||
var/max_number
|
||||
|
||||
Reference in New Issue
Block a user