More and more Destroy() cleanups all across the board - Return qdel hints.

This commit is contained in:
Leshana
2017-06-05 21:55:18 -04:00
parent 010cca1d44
commit e48b548f2b
51 changed files with 128 additions and 113 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
var/update_locked = 0
/obj/machinery/power/breakerbox/Destroy()
..()
. = ..()
for(var/datum/nano_module/rcon/R in world)
R.FindDevices()
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -248,7 +248,7 @@
if(A)
on = 0
// A.update_lights()
..()
return ..()
/obj/machinery/light/update_icon()
+1 -1
View File
@@ -19,7 +19,7 @@
disconnect_from_network()
disconnect_terminal()
..()
return ..()
///////////////////////////////
// General procedures
+1 -1
View File
@@ -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.