Makes various things return qdel hints on initialization (#26607)

* makes apcs destroy properly with a null area

* starts cleanup of initialize failures and hint returns

* Revert "makes apcs destroy properly with a null area"

This reverts commit 9a9175cd37.

* narsie returns qdel hint now

* make lightgeists clean up hud on destroy

* use the proper hud removal proc, but this still fails somehow. god help me.

* missed one

* Apply suggestions from code review

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>

---------

Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
chuga-git
2024-08-28 23:57:15 +00:00
committed by GitHub
co-authored by Luc
parent 22c9f89e9e
commit bef66785ce
9 changed files with 25 additions and 20 deletions
+2 -2
View File
@@ -251,7 +251,7 @@
var/silent_removal = FALSE
/obj/structure/alien/weeds/Initialize(mapload, node)
..()
. = ..()
linked_node = node
if(isspaceturf(loc))
qdel(src)
@@ -435,7 +435,7 @@
/obj/structure/alien/weeds/node/Initialize()
add_overlay("weednode")
..(loc, src)
return ..(loc, src)
#undef NODERANGE
+1 -1
View File
@@ -34,7 +34,7 @@
. += "<span class='notice'><b>Alt-Click</b> to deflate [src].</span>"
/obj/structure/inflatable/Initialize(location)
..()
. = ..()
recalculate_atmos_connectivity()
/obj/structure/inflatable/Destroy()