From 2870f5c7f13054bc4b846c7fa9fb256cadd4c691 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Fri, 8 Jan 2021 01:46:09 -0800 Subject: [PATCH] uh --- code/__DEFINES/_extools.dm | 4 ---- code/game/world.dm | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/code/__DEFINES/_extools.dm b/code/__DEFINES/_extools.dm index 40c559d878..e01e09a3d3 100644 --- a/code/__DEFINES/_extools.dm +++ b/code/__DEFINES/_extools.dm @@ -1,6 +1,3 @@ -#define EXTOOLS (world.system_type == MS_WINDOWS ? "byond-extools.dll" : "libbyond-extools.so") - -/* // _extools_api.dm - DM API for extools extension library // (blatently stolen from rust_g) // @@ -31,7 +28,6 @@ #define EXTOOLS (__extools || __detect_extools()) #endif -*/ #ifndef UNIT_TESTS // use default logging as extools is broken on travis #define EXTOOLS_LOGGING // rust_g is used as a fallback if this is undefined diff --git a/code/game/world.dm b/code/game/world.dm index 1eadb810f6..672db8f4f0 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -48,12 +48,12 @@ GLOBAL_LIST(topic_status_cache) world.Profile(PROFILE_START) + world.log = GLOB.config_error_log = GLOB.world_manifest_log = GLOB.world_pda_log = GLOB.world_job_debug_log = GLOB.sql_error_log = GLOB.world_href_log = GLOB.world_runtime_log = GLOB.world_attack_log = GLOB.world_game_log = "data/logs/config_error.[GUID()].log" //temporary file used to record errors with loading config, moved to log directory once logging is set bl + log_world("World loaded at [TIME_STAMP("hh:mm:ss", FALSE)]!") make_datum_references_lists() //initialises global lists for referencing frequently used datums (so that we only ever do it once) - GLOB.config_error_log = GLOB.world_manifest_log = GLOB.world_pda_log = GLOB.world_job_debug_log = GLOB.sql_error_log = GLOB.world_href_log = GLOB.world_runtime_log = GLOB.world_attack_log = GLOB.world_game_log = "data/logs/config_error.[GUID()].log" //temporary file used to record errors with loading config, moved to log directory once logging is set bl - GLOB.revdata = new InitTgs()