ZAS fixes and statistics logging.

This commit is contained in:
SkyMarshal
2012-06-13 16:55:00 -07:00
parent 77c4ba2014
commit d3258b4fed
5 changed files with 16 additions and 4 deletions
+2
View File
@@ -2,6 +2,8 @@ var/roundExplosions = 1
proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impact_range, flash_range, adminlog = 1)
if(!epicenter) return
var/log_file = file("[time2text(world.timeofday, "statistics/DD-MM-YYYY.txt")]")
log_file << "Explosion | \The [get_area(epicenter)] | [devastation_range], [heavy_impact_range], [light_impact_range], [flash_range]"
spawn(0)
if(defer_powernet_rebuild != 2)
defer_powernet_rebuild = 1