Rogue process() calls in atmos machinery (#2840)

Fixes #2801 and renames a few more missing procs.
This commit is contained in:
skull132
2017-06-26 20:45:12 +03:00
committed by GitHub
parent ce315815fa
commit 89035c8c85
5 changed files with 104 additions and 106 deletions
@@ -50,7 +50,7 @@
return ..()
process()
machinery_process()
..()
if(anchored && !(stat&BROKEN))
kin_energy *= 1 - kin_loss
@@ -246,7 +246,7 @@
if (turbine.stat & (BROKEN) || !turbine.anchored || turn(turbine.dir,180) != dir)
turbine = null
process()
machinery_process()
updateConnection()
if(!turbine || !anchored || stat & (BROKEN))
return