[MIRROR] Fixes cloning not working on those qdel'd but not yet destroyed by the garbage collector (#7105)
* Cloning deletion fix (#38438) * Fixes cloning not working on those qdel'd but not yet destroyed by the garbage collector
This commit is contained in:
committed by
kevinz000
parent
55628dca90
commit
95a9942bdc
@@ -133,7 +133,7 @@
|
||||
clonemind = locate(mindref) in SSticker.minds
|
||||
if(!istype(clonemind)) //not a mind
|
||||
return FALSE
|
||||
if(clonemind.current)
|
||||
if(!QDELETED(clonemind.current))
|
||||
if(clonemind.current.stat != DEAD) //mind is associated with a non-dead body
|
||||
return FALSE
|
||||
if(clonemind.current.suiciding) // Mind is associated with a body that is suiciding.
|
||||
|
||||
Reference in New Issue
Block a user