Revert "Revert "Garbage collection, asset delivery, icon2html revolution, and…" (#15816)

This reverts commit f6d0f62622.
This commit is contained in:
Heroman3003
2024-04-22 06:29:01 +10:00
committed by GitHub
parent a2d91ee15e
commit c7b6c3e42b
251 changed files with 2361 additions and 1626 deletions
+5
View File
@@ -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