Removed unused defined proc in APC code.

This commit is contained in:
Shadowlight213
2016-01-11 11:26:04 -08:00
parent 8dc7f8947c
commit d2d9cd80cd
-22
View File
@@ -881,28 +881,6 @@
point.the_disk = null //the pinpointer will go back to pointing at the nuke disc.
/obj/machinery/power/apc/proc/ion_act()
//intended to be exactly the same as an AI malf attack
if(!src.malfhack && src.z == ZLEVEL_STATION)
if(prob(3))
src.locked = 1
if (src.cell.charge > 0)
// world << "\red blew APC in [src.loc.loc]"
src.cell.charge = 0
cell.corrupt()
src.malfhack = 1
update_icon()
var/datum/effect_system/smoke_spread/smoke = new
smoke.set_up(1, src.loc)
smoke.attach(src)
smoke.start()
var/datum/effect_system/spark_spread/s = new
s.set_up(3, 1, src)
s.start()
visible_message("<span class='warning'>The [src.name] suddenly lets out a blast of smoke and some sparks!</span>", \
"<span class='italics'>You hear sizzling electronics.</span>")
/obj/machinery/power/apc/surplus()
if(terminal)
return terminal.surplus()