mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +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:
@@ -22,7 +22,7 @@
|
||||
|
||||
/obj/item/chainsaw/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
/obj/item/chainsaw/proc/turnOn(mob/user as mob)
|
||||
if(on) return
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
/obj/item/tool/transforming/Destroy()
|
||||
if(welder)
|
||||
QDEL_NULL(welder)
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
/obj/item/tool/transforming/get_welder()
|
||||
return welder
|
||||
|
||||
Reference in New Issue
Block a user