Fixes ghosted mobs duplicating their attack logs (#37564)

This commit is contained in:
ShiftyRail
2025-05-12 13:54:02 +01:00
committed by GitHub
parent 98fde2d35e
commit 190271fdf8
2 changed files with 0 additions and 2 deletions

View File

@@ -95,7 +95,6 @@
transfer_to_without_current(new_character) transfer_to_without_current(new_character)
return return
//new_character.attack_log += current.attack_log
new_character.attack_log += "\[[time_stamp()]\]: mind transfer from [current] to [new_character]" new_character.attack_log += "\[[time_stamp()]\]: mind transfer from [current] to [new_character]"
for (var/role in antag_roles) for (var/role in antag_roles)

View File

@@ -258,7 +258,6 @@ Works together with spawning an observer, noted above.
if (deafmute) if (deafmute)
ghostype = /mob/dead/observer/deafmute ghostype = /mob/dead/observer/deafmute
var/mob/dead/observer/ghost = new ghostype(src, flags) //Transfer safety to observer spawning proc. 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.
var/timetocheck = timeofdeath var/timetocheck = timeofdeath
if (isbrain(src)) if (isbrain(src))
var/mob/living/carbon/brain/brainmob = src var/mob/living/carbon/brain/brainmob = src