Make reenter-corpse not delete your spells

This commit is contained in:
MrPerson
2014-04-09 13:10:48 -07:00
parent b700f39509
commit 910dae4154
+4 -4
View File
@@ -2,15 +2,15 @@
mob_list -= src
dead_mob_list -= src
living_mob_list -= src
//Set the mob up for GC. Mobs have lots of references
if(client)
for(var/atom/movable/AM in client.screen)
qdel(AM)
client.screen = list()
del(hud_used)
spellremove(src)
qdel(hud_used)
if(mind && mind.current == src)
spellremove(src)
for(var/infection in viruses)
del(infection)
qdel(infection)
ghostize()
..()