From 3c9966041d3e050d5fb92dda363dd6ee788be427 Mon Sep 17 00:00:00 2001 From: vuonojenmustaturska Date: Tue, 13 Feb 2018 18:23:07 +0200 Subject: [PATCH 1/2] Merge pull request #35571 from ShizCalev/spider_infestation-fix Fixes spider_infestation event --- code/modules/events/spider_infestation.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/events/spider_infestation.dm b/code/modules/events/spider_infestation.dm index a3c625e396..58c52cbec3 100644 --- a/code/modules/events/spider_infestation.dm +++ b/code/modules/events/spider_infestation.dm @@ -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)