From be15914a6f02d6981345a818e901ffc2b0da9518 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Fri, 7 Jul 2017 06:47:52 -0500 Subject: [PATCH] Minor code clean up in magnet controller (#1921) --- code/game/machinery/magnet.dm | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/code/game/machinery/magnet.dm b/code/game/machinery/magnet.dm index 2a135ec8d0..5935b222fe 100644 --- a/code/game/machinery/magnet.dm +++ b/code/game/machinery/magnet.dm @@ -166,17 +166,6 @@ else use_power = NO_POWER_USE - - // Overload conditions: - /* // Eeeehhh kinda stupid - if(on) - if(electricity_level > 11) - if(prob(electricity_level)) - explosion(loc, 0, 1, 2, 3) // ooo dat shit EXPLODES son - spawn(2) - qdel(src) - */ - updateicon() @@ -249,9 +238,9 @@ /obj/machinery/magnetic_controller/Destroy() if(SSradio) SSradio.remove_object(src, frequency) - . = ..() magnets = null rpath = null + . = ..() /obj/machinery/magnetic_controller/process() if(magnets.len == 0 && autolink)