Attack logs transfered on ghosting/mind transfer (#22738)

* Attack logs transfered on ghosting/mind transfer

* I swear officer I tested it
This commit is contained in:
ShiftyRail
2019-05-03 14:14:27 +02:00
committed by jknpj
parent f4fc4388ee
commit 49d66909d3
2 changed files with 4 additions and 0 deletions

View File

@@ -344,6 +344,7 @@ Works together with spawning an observer, noted above.
if (deafmute)
ghostype = /mob/dead/observer/deafmute
var/mob/dead/observer/ghost = new ghostype(src, flags) //Transfer safety to observer spawning proc.
ghost.attack_log += src.attack_log // Keep our attack logs.
ghost.timeofdeath = src.timeofdeath //BS12 EDIT
ghost.key = key
if(ghost.client && !ghost.client.holder && !config.antag_hud_allowed) // For new ghosts we remove the verb from even showing up if it's not allowed.