Merge pull request #32635 from AnturK/cowardsallofthem

Fixes fleeing the station message accuracy
This commit is contained in:
Leo
2017-11-12 15:40:35 -02:00
committed by CitadelStationBot
parent ef700ef8d7
commit 8814c55bfb
+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