Replace explicit z-level checks with defines
This commit is contained in:
committed by
CitadelStationBot
parent
48e0c47410
commit
0418ee4df6
+1
-1
@@ -545,7 +545,7 @@
|
||||
if(I == src)
|
||||
continue
|
||||
var/mob/M = I.current
|
||||
if(M && (M.z in GLOB.station_z_levels) && !M.stat)
|
||||
if(M && is_station_level(M.z) && !M.stat)
|
||||
last_healthy_headrev = FALSE
|
||||
break
|
||||
text += "head | not mindshielded | <a href='?src=[REF(src)];revolution=clear'>employee</a> | <b>[last_healthy_headrev ? "<font color='red'>LAST </font> " : ""]HEADREV</b> | <a href='?src=[REF(src)];revolution=rev'>rev</a>"
|
||||
|
||||
Reference in New Issue
Block a user