Merge pull request #35571 from ShizCalev/spider_infestation-fix

Fixes spider_infestation event
This commit is contained in:
vuonojenmustaturska
2018-02-13 18:23:07 +02:00
committed by CitadelStationBot
parent 322d8aa480
commit 3c9966041d
+3 -1
View File
@@ -21,7 +21,9 @@
/datum/round_event/spider_infestation/start()
var/list/vents = list()
for(var/obj/machinery/atmospherics/components/unary/vent_pump/temp_vent in world)
for(var/obj/machinery/atmospherics/components/unary/vent_pump/temp_vent in GLOB.machines)
if(QDELETED(temp_vent))
continue
if(is_station_level(temp_vent.loc.z) && !temp_vent.welded)
var/datum/pipeline/temp_vent_parent = temp_vent.parents[1]
if(temp_vent_parent.other_atmosmch.len > 20)