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
@@ -30,7 +30,7 @@
..()
process()
machinery_process()
..()
if(QDELETED(partner))
return 0
@@ -28,7 +28,7 @@ obj/machinery/atmospherics/unary/oxygen_generator
air_contents.volume = 50
process()
machinery_process()
..()
if(!on)
return 0
@@ -46,4 +46,4 @@ obj/machinery/atmospherics/unary/oxygen_generator
if(network)
network.update = 1
return 1
return 1
@@ -18,7 +18,7 @@
icon_state = "exposed"
return
process()
machinery_process()
..()
var/datum/gas_mixture/environment = loc.return_air()
@@ -78,4 +78,4 @@
if (network)
network.update = 1
return 1
return 1