From 9b955e5d03eda3f5d1b6b5d286b321121003b90e Mon Sep 17 00:00:00 2001 From: Putnam Date: Thu, 9 Jul 2020 03:19:52 -0700 Subject: [PATCH] gotta replace all of them actually --- code/__DEFINES/spaceman_dmm.dm | 5 ++--- code/game/world.dm | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/code/__DEFINES/spaceman_dmm.dm b/code/__DEFINES/spaceman_dmm.dm index 3d4207c5c9..e21f3dc1c1 100644 --- a/code/__DEFINES/spaceman_dmm.dm +++ b/code/__DEFINES/spaceman_dmm.dm @@ -29,6 +29,5 @@ #endif /world/proc/enable_debugger() - var/dll = world.GetConfig("env", "EXTOOLS_DLL") - if (dll) - call(dll, "debug_initialize")() + if (fexists(EXTOOLS)) + call(EXTOOLS, "debug_initialize")() diff --git a/code/game/world.dm b/code/game/world.dm index 7004e64f63..db193f31b0 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -9,9 +9,8 @@ GLOBAL_LIST(topic_status_cache) //This happens after the Master subsystem new(s) (it's a global datum) //So subsystems globals exist, but are not initialised /world/New() - var/extools = world.GetConfig("env", "EXTOOLS_DLL") || "./byond-extools.dll" - if (fexists(extools)) - call(extools, "maptick_initialize")() + if (fexists(EXTOOLS)) + call(EXTOOLS, "maptick_initialize")() enable_debugger() world.Profile(PROFILE_START)