Fix protean deaths

This commit is contained in:
Aronai Sieyes
2020-05-20 13:54:55 -04:00
parent 1a3f9cc3ee
commit 4d254bb8fc
4 changed files with 118 additions and 63 deletions
+2 -3
View File
@@ -168,9 +168,8 @@
/obj/belly/Destroy()
STOP_PROCESSING(SSbellies, src)
if(owner)
owner.vore_organs -= src
owner = null
owner?.vore_organs?.Remove(src)
owner = null
return ..()
// Called whenever an atom enters this belly