mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes ghosted mobs duplicating their attack logs (#37564)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user