From 21dd91d031daf878aef9c94f2fcae52b99f8ea80 Mon Sep 17 00:00:00 2001 From: Crazylemon64 Date: Wed, 10 Aug 2016 11:14:00 -0700 Subject: [PATCH] Curse you automerge --- code/game/gamemodes/malfunction/Malf_Modules.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/gamemodes/malfunction/Malf_Modules.dm b/code/game/gamemodes/malfunction/Malf_Modules.dm index 10971829cf0..ba331791650 100644 --- a/code/game/gamemodes/malfunction/Malf_Modules.dm +++ b/code/game/gamemodes/malfunction/Malf_Modules.dm @@ -59,7 +59,7 @@ return for(var/obj/machinery/door/D in airlocks) - if(D.z != ZLEVEL_STATION) + if(!is_station_level(D.z)) continue spawn(0) D.hostile_lockdown(src) @@ -145,7 +145,7 @@ return for(var/obj/machinery/firealarm/F in machines) - if(F.z != ZLEVEL_STATION) + if(!is_station_level(F.z)) continue F.emagged = 1 to_chat(src, "All thermal sensors on the station have been disabled. Fire alerts will no longer be recognized.") @@ -170,7 +170,7 @@ return for(var/obj/machinery/alarm/AA in machines) - if(AA.z != ZLEVEL_STATION) + if(!is_station_level(AA.z)) continue AA.emagged = 1 to_chat(src, "All air alarm safeties on the station have been overriden. Air alarms may now use the Flood environmental mode.")