Merge pull request #2962 from Citadel-Station-13/upstream-merge-31032

[MIRROR] Fixes doomsday not working with multiz stations
This commit is contained in:
LetterJay
2017-09-30 15:17:14 -04:00
committed by GitHub
@@ -377,7 +377,7 @@ GLOBAL_LIST_INIT(blacklisted_malf_machines, typecacheof(list(
sleep(100)
for(var/mob/living/L in GLOB.mob_list)
var/turf/T = get_turf(L)
if(!T || T.z != z_level)
if(!T || !(T.z in GLOB.station_z_levels))
continue
if(issilicon(L))
continue
@@ -827,4 +827,4 @@ GLOBAL_LIST_INIT(blacklisted_malf_machines, typecacheof(list(
AI.eyeobj.relay_speech = TRUE
#undef DEFAULT_DOOMSDAY_TIMER
#undef DOOMSDAY_ANNOUNCE_INTERVAL
#undef DOOMSDAY_ANNOUNCE_INTERVAL