Maybe fixes minds failing to GC (#25032)

This commit is contained in:
Cyberboss
2017-03-14 19:30:11 +01:00
committed by AnturK
parent ea740fd160
commit 4bc503b2be
+3
View File
@@ -68,6 +68,9 @@
src.key = key
soulOwner = src
/datum/mind/Destroy()
ticker.minds -= src
return ..()
/datum/mind/proc/transfer_to(mob/new_character, var/force_key_move = 0)
if(current) // remove ourself from our old body's mind variable