Merge pull request #1788 from Citadel-Station-13/upstream-merge-28821

[MIRROR] Fixes PAIs deleting their card on death
This commit is contained in:
LetterJay
2017-06-26 21:17:05 -05:00
committed by GitHub
+2 -3
View File
@@ -4,12 +4,11 @@
stat = DEAD
canmove = 0
card.removePersonality()
if(holoform)
card.forceMove(loc)
card.forceMove(loc)
update_sight()
clear_fullscreens()
//New pAI's get a brand new mind to prevent meta stuff from their previous life. This new mind causes problems down the line if it's not deleted here.
GLOB.living_mob_list -= src
ghostize()
qdel(src)
qdel(src)