Merge pull request #33937 from AnturK/printplayerfix

printplayer fix for jobless minds
This commit is contained in:
Jordan Brown
2017-12-30 15:03:56 -05:00
committed by CitadelStationBot
parent eda5869b4f
commit 3128c26698
+4 -1
View File
@@ -385,7 +385,10 @@
/proc/printplayer(datum/mind/ply, fleecheck)
var/text = "<b>[ply.key]</b> was <b>[ply.name]</b> the <b>[ply.assigned_role]</b> and"
var/jobtext = ""
if(ply.assigned_role)
jobtext = " the <b>[ply.assigned_role]</b>"
var/text = "<b>[ply.key]</b> was <b>[ply.name]</b>[jobtext] and"
if(ply.current)
if(ply.current.stat == DEAD)
text += " <span class='redtext'>died</span>"