probably fixes travis

This commit is contained in:
Putnam
2020-07-09 01:40:39 -07:00
parent aefdf9eef7
commit 196261296e
+4 -3
View File
@@ -281,12 +281,13 @@ GLOBAL_LIST_INIT(atmos_adjacent_savings, list(0,0))
#define CALCULATE_ADJACENT_TURFS(T) SSadjacent_air.queue[T] = 1
#endif
#define EXTOOLS (world.system_type == MS_WINDOWS ? "byond-extools.dll" : "libbyond-extools.so")
GLOBAL_VAR(atmos_extools_initialized) // this must be an uninitialized (null) one or init_monstermos will be called twice because reasons
#define ATMOS_EXTOOLS_CHECK if(!GLOB.atmos_extools_initialized){\
GLOB.atmos_extools_initialized=TRUE;\
var/extools = world.GetConfig("env", "EXTOOLS_DLL") || "./byond-extools.dll";\
if(fexists(extools)){\
var/result = call(extools,"init_monstermos")();\
if(fexists(EXTOOLS)){\
var/result = call(EXTOOLS,"init_monstermos")();\
if(result != "ok") {CRASH(result);}\
} else {\
CRASH("byond-extools.dll does not exist!");\