compile fix, tweaks

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-08-09 04:53:29 +10:00
parent ab0fe32f84
commit 2abbd8ce6b
2 changed files with 1 additions and 4 deletions

View File

@@ -185,7 +185,6 @@ datum
if(. && T && !output)
. = 0 //If a runtime occured, make sure we can sense it.
log_admin("ZASALERT: Either a null turf in list/tiles_to_update, or unable run turf/simualted/update_air_properties()")
alerted = 1
tiles_to_update = list()
tick_progress = 2
@@ -209,7 +208,6 @@ datum
if(. && Z && !output)
. = 0
log_admin("ZASALERT: Either a null zone in list/zones, or unable run zone/process()")
alerted = 1
tick_progress = 5
for(var/obj/fire/F in active_hotspots)
@@ -217,6 +215,5 @@ datum
if(. && F && !output)
. = 0
log_admin("ZASALERT: Either a null fire in list/active_hotspots, or unable run obj/fire/process()")
alerted = 1
tick_progress = 6

View File

@@ -192,7 +192,7 @@ datum/controller/game_controller
section = "active_hotspots (fire)"
if(6)
section = "success"
log_admin("ZASALERT: air_system/tick() failed with progress: [air_master.tick_progress]")
log_admin("ZASALERT: air_system/tick() failed with progress: [air_master.tick_progress] ([section])")
air_master.failed_ticks++
if(air_master.failed_ticks > 20)
world << "<font color='red'><b>RUNTIMES IN ATMOS TICKER. Killing air simulation!</font></b>"