- Fixed issue 131

The Particle Accelerator now stops firing after power failure. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1903 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
panurgomatic
2011-07-22 00:59:49 +00:00
parent befc1ecaa3
commit 33c291fdb5
@@ -59,6 +59,15 @@
src.updateDialog()
power_change()
..()
if(stat & NOPOWER)
active = 0
use_power = 0
else if(!stat)
use_power = 1
return
process()
if(src.active)
for(var/obj/particle_accelerator/particle_emitter/PE in connected_parts)