Update vent_clog.dm

This commit is contained in:
LetterJay
2017-12-30 13:33:01 -06:00
committed by GitHub
parent de10a5b223
commit 10643a192e

View File

@@ -19,13 +19,8 @@
/datum/round_event/vent_clog/setup()
endWhen = rand(25, 100)
for(var/obj/machinery/atmospherics/components/unary/vent_scrubber/temp_vent in GLOB.machines)
<<<<<<< HEAD
if((temp_vent.loc.z in GLOB.station_z_levels) && !temp_vent.welded)
var/datum/pipeline/temp_vent_parent = temp_vent.PARENT1
=======
if(is_station_level(temp_vent.loc.z) && !temp_vent.welded)
var/datum/pipeline/temp_vent_parent = temp_vent.parents[1]
>>>>>>> f2dbe5c... Replace explicit z-level checks with defines (#33829)
if(temp_vent_parent.other_atmosmch.len > 20)
vents += temp_vent
if(!vents.len)