Convert a fuck ton of machines to Initialize() (#2985)

Needs testing, but shouldn't break anything. Also adds Destroy() to the SMES base class.
This commit is contained in:
Lohikar
2017-07-14 20:08:59 +03:00
committed by skull132
parent 12ccc4e7a7
commit b5472e50f4
43 changed files with 104 additions and 116 deletions
@@ -21,11 +21,11 @@
var/parts = null
var/datum/wires/particle_acc/control_box/wires = null
/obj/machinery/particle_accelerator/control_box/New()
/obj/machinery/particle_accelerator/control_box/Initialize()
wires = new(src)
connected_parts = list()
active_power_usage = initial(active_power_usage) * (strength + 1)
..()
. = ..()
/obj/machinery/particle_accelerator/control_box/Destroy()
if(active)