mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
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:
@@ -81,7 +81,8 @@ SUBSYSTEM_DEF(garbage)
|
|||||||
dellog += "\tIgnored force: [I.no_respect_force] times"
|
dellog += "\tIgnored force: [I.no_respect_force] times"
|
||||||
if (I.no_hint)
|
if (I.no_hint)
|
||||||
dellog += "\tNo hint: [I.no_hint] times"
|
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()
|
/datum/controller/subsystem/garbage/fire()
|
||||||
//the fact that this resets its processing each fire (rather then resume where it left off) is intentional.
|
//the fact that this resets its processing each fire (rather then resume where it left off) is intentional.
|
||||||
|
|||||||
Reference in New Issue
Block a user