mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Master controller debugging for crashes.
Warning: This can cause up to 100 writes to a file per second, which may cause notable CPU consumption. Should remove this, or replace it with a C DLL at some point.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
/world/New()
|
||||
..()
|
||||
|
||||
// Setup crashlog for debugging purposes
|
||||
crashlog = file("crashlog.txt")
|
||||
crashlog << "==========================================================\n"
|
||||
crashlog << "** A new round has started.\n"
|
||||
|
||||
diary = file("data/logs/[time2text(world.realtime, "YYYY/MM-Month/DD-Day")].log")
|
||||
diary << {"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user