mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Revert "Revert "Garbage collection, asset delivery, icon2html revolution, and…" (#15816)
This reverts commit f6d0f62622.
This commit is contained in:
@@ -87,16 +87,21 @@
|
||||
|
||||
if(parent && parent.children)
|
||||
parent.children -= src
|
||||
parent = null
|
||||
|
||||
if(children)
|
||||
for(var/obj/item/organ/external/C in children)
|
||||
children -= C
|
||||
C.parent = null
|
||||
qdel(C)
|
||||
|
||||
if(internal_organs)
|
||||
for(var/obj/item/organ/O in internal_organs)
|
||||
internal_organs -= O
|
||||
qdel(O)
|
||||
|
||||
if(splinted && splinted.loc == src)
|
||||
splinted.loc = null
|
||||
qdel(splinted)
|
||||
splinted = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user