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

View File

@@ -47,6 +47,8 @@
/mob/proc/death(gibbed)
timeofdeath = world.time
var/log_file = file("[time2text(world.timeofday, "statistics/DD-MM-YYYY.txt")]")
log_file << "Death | \The [get_area(src)] | [bruteloss], [oxyloss], [toxloss], [fireloss][attack_log && attack_log.len? " | attack_log[attack_log.len]" : ""]"
if(client)
client.onDeath()