Merge pull request #36997 from DaxDupont/is-this-real-life

Fixes dead chat announcements not using real name.
This commit is contained in:
Jordan Brown
2018-04-06 10:08:37 -04:00
committed by CitadelStationBot
parent 49fd917fee
commit 554ed22603
2 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -273,7 +273,7 @@ SUBSYSTEM_DEF(shuttle)
var/area/A = get_area(user)
log_game("[key_name(user)] has called the shuttle.")
deadchat_broadcast("<span class='deadsay'><span class='name'>[user.name]</span> has called the shuttle at <span class='name'>[A.name]</span>.</span>", user)
deadchat_broadcast("<span class='deadsay'><span class='name'>[user.real_name]</span> has called the shuttle at <span class='name'>[A.name]</span>.</span>", user)
if(call_reason)
SSblackbox.record_feedback("text", "shuttle_reason", 1, "[call_reason]")
log_game("Shuttle call reason: [call_reason]")
@@ -312,7 +312,7 @@ SUBSYSTEM_DEF(shuttle)
log_game("[key_name(user)] has recalled the shuttle.")
message_admins("[key_name_admin(user)] has recalled the shuttle.")
var/area/A = get_area(user)
deadchat_broadcast("<span class='deadsay'><span class='name'>[user.name]</span> has recalled the shuttle at <span class='name'>[A.name]</span>.</span>", user)
deadchat_broadcast("<span class='deadsay'><span class='name'>[user.real_name]</span> has recalled the shuttle at <span class='name'>[A.name]</span>.</span>", user)
return 1
/datum/controller/subsystem/shuttle/proc/canRecall()