From 4348fd7672743df3fadb57e2ba11bf4b8d701a24 Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Wed, 3 Jan 2018 08:33:20 -0500 Subject: [PATCH] Fixes observers not being transfered to new mobs (#34039) --- code/datums/mind.dm | 1 + code/modules/mob/living/carbon/alien/alien.dm | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 98acae6d1bf..6a5ff7e2e6f 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -110,6 +110,7 @@ var/mob/living/old_current = current current = new_character //associate ourself with our new body new_character.mind = src //and associate our new body with ourself + old_current.transfer_observers_to(current) //transfer anyone observing the old character to the new one for(var/a in antag_datums) //Makes sure all antag datums effects are applied in the new body var/datum/antagonist/A = a A.on_body_transfer(old_current, current) diff --git a/code/modules/mob/living/carbon/alien/alien.dm b/code/modules/mob/living/carbon/alien/alien.dm index 89edbf759c4..bfff194de9c 100644 --- a/code/modules/mob/living/carbon/alien/alien.dm +++ b/code/modules/mob/living/carbon/alien/alien.dm @@ -147,8 +147,6 @@ Des: Removes all infected images from the alien. mind.transfer_to(new_xeno) qdel(src) - // TODO make orbiters orbit the new xeno, or make xenos species rather than types - #undef HEAT_DAMAGE_LEVEL_1 #undef HEAT_DAMAGE_LEVEL_2 #undef HEAT_DAMAGE_LEVEL_3