mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
Merge pull request #3383 from MrPerson/qdel_spells_TAKE_TWO
Make reenter-corpse not delete your spells
This commit is contained in:
@@ -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()
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user