mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user