Reduce qdel log file by 150000%

Fix indenting error that caused it to log repeatedly.  Also put it in its own file to match the pattern used by overlays and initialize.
This commit is contained in:
Leshana
2018-03-09 23:50:43 -05:00
parent 362ba9ab7e
commit b666e76d7d

View File

@@ -81,7 +81,8 @@ SUBSYSTEM_DEF(garbage)
dellog += "\tIgnored force: [I.no_respect_force] times"
if (I.no_hint)
dellog += "\tNo hint: [I.no_hint] times"
log_misc(dellog.Join())
var/date_string = time2text(world.realtime, "YYYY/MM-Month/DD-Day")
text2file(dellog.Join(), "data/logs/[date_string]-qdel.log")
/datum/controller/subsystem/garbage/fire()
//the fact that this resets its processing each fire (rather then resume where it left off) is intentional.