Fixes some bad Destroy()s (#17511)

* Fixes some bad Destroy()s

Fixes some bad destroys on request of Kash, will need checking over that I've not misunderstood the instructions! This is all I had time to look through for now. Checked around 200-ish files.

* The rest of them

Found a quick way to look through them all

* Update chicken.dm

* fix that

* don't abuse destroy

* .

* move this up

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
SatinIsle
2025-04-12 00:15:42 +02:00
committed by GitHub
co-authored by Kashargul
parent 03ea0f928d
commit 94e61bdfc0
57 changed files with 74 additions and 79 deletions
+3 -3
View File
@@ -50,7 +50,7 @@
my_hose = null
if(carrier)
carrier = null
..()
. = ..()
/obj/item/hose_connector/Initialize(mapload)
. = ..()
@@ -102,7 +102,7 @@
/obj/item/hose_connector/input/active/Destroy()
STOP_PROCESSING(SSobj, src)
..()
. = ..()
/obj/item/hose_connector/input/active/Initialize(mapload)
. = ..()
@@ -124,7 +124,7 @@
/obj/item/hose_connector/output/active/Destroy()
STOP_PROCESSING(SSobj, src)
..()
. = ..()
/obj/item/hose_connector/output/active/Initialize(mapload)
. = ..()
@@ -21,7 +21,7 @@
/obj/item/stack/hose/Destroy()
remembered = null
..()
. = ..()
/obj/item/stack/hose/CtrlClick(mob/user)
if(remembered)
@@ -26,7 +26,7 @@
QDEL_NULL(InputSocket)
QDEL_NULL(OutputSocket)
..()
. = ..()
/obj/structure/reagent_dispensers/Initialize(mapload)
var/datum/reagents/R = new/datum/reagents(5000)