mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #9933 from Heroman3003/verminfix
Fixes vermin infestation event not working right sometimes
This commit is contained in:
committed by
Chompstation Bot
parent
6d07636d44
commit
8877d4f4bd
@@ -63,8 +63,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