mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
DD stdout logging (#18748)
* DD stdout logging * Update code/game/world.dm Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
co-authored by
Sirryan2002
parent
f1884b3c71
commit
df6ca2796c
@@ -42,6 +42,9 @@ GLOBAL_LIST_INIT(map_transition_config, list(CC_TRANSITION_CONFIG))
|
||||
GLOB.revision_info.log_info()
|
||||
load_admins(run_async = FALSE) // This better happen early on.
|
||||
|
||||
if(TgsAvailable())
|
||||
world.log = file("[GLOB.log_directory]/dd.log") //not all runtimes trigger world/Error, so this is the only way to ensure we can see all of them.
|
||||
|
||||
#ifdef UNIT_TESTS
|
||||
log_world("Unit Tests Are Enabled!")
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user