Merge pull request #5460 from Citadel-Station-13/upstream-merge-35571

[MIRROR] Fixes spider_infestation event
This commit is contained in:
deathride58
2018-02-13 17:18:45 +00:00
committed by GitHub

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)