Skip to content

Commit

Permalink
Update infestation events
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed Feb 2, 2025
1 parent ed1fe5b commit b4195c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modular_ss220/events/code/headcrabs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
var/area/randomarea = pick(availableareas)
var/list/turf/simulated/floor/turfs = list()
for(var/turf/simulated/floor/F in randomarea)
if(turf_clear(F))
if(!is_blocked_turf(F))
turfs += F
var/list/spawn_types = list()
var/max_number
Expand Down
2 changes: 1 addition & 1 deletion modular_ss220/events/code/infestation_extended.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
kill()
return
for(var/turf/simulated/floor/F in A.contents)
if(turf_clear(F))
if(!is_blocked_turf(F))
turfs += F

var/list/spawn_types = list()
Expand Down

0 comments on commit b4195c7

Please sign in to comment.