mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-19 02:52:46 +01:00
More and more Destroy() cleanups all across the board - Return qdel hints.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
var/update_locked = 0
|
||||
|
||||
/obj/machinery/power/breakerbox/Destroy()
|
||||
..()
|
||||
. = ..()
|
||||
for(var/datum/nano_module/rcon/R in world)
|
||||
R.FindDevices()
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ var/list/possible_cable_coil_colours = list(
|
||||
if(powernet)
|
||||
cut_cable_from_powernet() // update the powernets
|
||||
cable_list -= src //remove it from global cable list
|
||||
..() // then go ahead and delete the cable
|
||||
return ..() // then go ahead and delete the cable
|
||||
|
||||
// Ghost examining the cable -> tells him the power
|
||||
/obj/structure/cable/attack_ghost(mob/user)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
/obj/machinery/power/grid_checker/Destroy()
|
||||
qdel(wires)
|
||||
wires = null
|
||||
..()
|
||||
return ..()
|
||||
|
||||
/obj/machinery/power/grid_checker/update_icon()
|
||||
if(power_failing)
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
if(A)
|
||||
on = 0
|
||||
// A.update_lights()
|
||||
..()
|
||||
return ..()
|
||||
|
||||
/obj/machinery/light/update_icon()
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
disconnect_from_network()
|
||||
disconnect_terminal()
|
||||
|
||||
..()
|
||||
return ..()
|
||||
|
||||
///////////////////////////////
|
||||
// General procedures
|
||||
|
||||
@@ -23,7 +23,7 @@ var/global/list/rad_collectors = list()
|
||||
|
||||
/obj/machinery/power/rad_collector/Destroy()
|
||||
rad_collectors -= src
|
||||
..()
|
||||
return ..()
|
||||
|
||||
/obj/machinery/power/rad_collector/process()
|
||||
//so that we don't zero out the meter if the SM is processed first.
|
||||
|
||||
Reference in New Issue
Block a user