Completed ZAS rework. Needs testing, and consideration to make zones sleep.

This commit is contained in:
SkyMarshal
2013-08-26 20:57:38 -07:00
committed by SkyMarshal
parent 073f462e1b
commit e8f9d19c75
9 changed files with 85 additions and 27 deletions

View File

@@ -126,7 +126,6 @@ datum/controller/game_controller/proc/process()
timer = world.timeofday
last_thing_processed = air_master.type
air_master.current_cycle++
if(!air_master.Tick()) //Runtimed.
air_master.failed_ticks++
if(air_master.failed_ticks > 5)
@@ -136,7 +135,8 @@ datum/controller/game_controller/proc/process()
log_admin("ZASALERT: unable run zone/process() -- [air_master.tick_progress]")
air_processing_killed = 1
air_master.failed_ticks = 0
air_cost = (world.timeofday - timer) / 10
air_cost = (world.timeofday - timer) / 10
sleep(breather_ticks)