mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
- 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user