Merge pull request #3899 from Citadel-Station-13/upstream-merge-32635

[MIRROR] Fixes fleeing the station message accuracy
This commit is contained in:
LetterJay
2017-11-13 11:44:16 -06:00
committed by GitHub
+4 -2
View File
@@ -464,8 +464,10 @@
text += " <span class='boldannounce'>died</span>"
else
text += " <span class='greenannounce'>survived</span>"
if(fleecheck && (!(ply.current.z in GLOB.station_z_levels)))
text += " while <span class='boldannounce'>fleeing the station</span>"
if(fleecheck)
var/turf/T = get_turf(ply.current)
if(!T || !(T.z in GLOB.station_z_levels))
text += " while <span class='boldannounce'>fleeing the station</span>"
if(ply.current.real_name != ply.name)
text += " as <b>[ply.current.real_name]</b>"
else