Fixes observers not being transfered to new mobs (#34039)

This commit is contained in:
ShizCalev
2018-01-03 08:33:20 -05:00
committed by CitadelStationBot
parent a430b31af3
commit c41bf82380
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -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)
@@ -148,8 +148,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