Fixed putting pais in bots and using mindswap improperly removing data huds (#23099)

This commit is contained in:
Cruix
2017-01-19 12:27:51 +01:00
committed by AnturK
parent 8599051acd
commit 15b2423f70
2 changed files with 2 additions and 7 deletions
-1
View File
@@ -89,7 +89,6 @@
var/datum/antagonist/D = i
D.transfer_to_new_body(new_character)
var/datum/atom_hud/antag/hud_to_transfer = antag_hud//we need this because leave_hud() will clear this list
leave_all_huds() //leave all the huds in the old body, so it won't get huds if somebody else enters it
current = new_character //associate ourself with our new body
new_character.mind = src //and associate our new body with ourself
if(iscarbon(new_character))