Destroy tweaks.

Ports Destroy() proc tweaks from Paradise and /tg/, sourced from https://github.com/ParadiseSS13/Paradise/pull/2091.
Adds returns in Destroy()s, to prepare for future return values.
This commit is contained in:
PsiOmegaDelta
2015-09-25 10:40:05 +02:00
parent 36e61e45bf
commit 9dd1a54191
21 changed files with 85 additions and 58 deletions

View File

@@ -30,7 +30,9 @@
/obj/machinery/particle_accelerator/control_box/Destroy()
if(active)
toggle_power()
..()
qdel(wires)
wires = null
return ..()
/obj/machinery/particle_accelerator/control_box/attack_hand(mob/user as mob)
if(construction_state >= 3)