Merge pull request #2445 from Citadel-Station-13/upstream-merge-29953

[MIRROR] Add logging of deathgasp last words and suicide stats to the death table
This commit is contained in:
LetterJay
2017-09-06 10:11:16 -05:00
committed by GitHub
5 changed files with 23 additions and 20 deletions
@@ -75,3 +75,5 @@
var/datum/riding/riding_datum
var/datum/language/selected_default_language
var/last_words //used for database logging
+1
View File
@@ -155,6 +155,7 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
var/message_len = length(message)
message = copytext(message, 1, health_diff) + "[message_len > health_diff ? "-.." : "..."]"
message = Ellipsis(message, 10, 1)
last_words = message
message_mode = MODE_WHISPER_CRIT
succumbed = TRUE
else