From 5e0d550a4466bd5b2b7c3c14013fe794b1657ebd Mon Sep 17 00:00:00 2001 From: Feenie Date: Mon, 14 Oct 2024 23:20:21 +0300 Subject: [PATCH] -auxtools.dm --- code/__HELPERS/auxtools.dm | 12 ------------ shiptest.dme | 1 - 2 files changed, 13 deletions(-) delete mode 100644 code/__HELPERS/auxtools.dm diff --git a/code/__HELPERS/auxtools.dm b/code/__HELPERS/auxtools.dm deleted file mode 100644 index d53ad62db230..000000000000 --- a/code/__HELPERS/auxtools.dm +++ /dev/null @@ -1,12 +0,0 @@ -/// Macro for getting the auxtools library file -#define AUXLUA (world.system_type == MS_WINDOWS ? "auxlua.dll" : __detect_auxtools("auxlua")) - -/proc/__detect_auxtools(library) - if(IsAdminAdvancedProcCall()) - return - if (fexists("./lib[library].so")) - return "./lib[library].so" - else if (fexists("[world.GetConfig("env", "HOME")]/.byond/bin/lib[library].so")) - return "[world.GetConfig("env", "HOME")]/.byond/bin/lib[library].so" - else - CRASH("Could not find lib[library].so") diff --git a/shiptest.dme b/shiptest.dme index 4933d4921658..2acafb939991 100644 --- a/shiptest.dme +++ b/shiptest.dme @@ -184,7 +184,6 @@ #include "code\__HELPERS\areas.dm" #include "code\__HELPERS\AStar.dm" #include "code\__HELPERS\atoms.dm" -#include "code\__HELPERS\auxtools.dm" #include "code\__HELPERS\bindings.dm" #include "code\__HELPERS\bitflag_lists.dm" #include "code\__HELPERS\chat.dm"