Use LUA_(C)PATH_VAR instead of LUA_(C)PATH in luaconf.h

This was apparently changed at some point around Lua 5.3, so a custom LUA_PATH
environment variable could prevent DFHack from initializing.
develop
lethosor 2017-03-14 00:24:05 -04:00
parent 67f39316ce
commit 38702febf7
1 changed files with 2 additions and 2 deletions

@ -200,8 +200,8 @@
LUA_CDIR"?.so;" "./?.so"
#endif /* } */
#define LUA_PATH "DFHACK_LUA_PATH"
#define LUA_CPATH "DFHACK_LUA_CPATH"
#define LUA_PATH_VAR "DFHACK_LUA_PATH"
#define LUA_CPATH_VAR "DFHACK_LUA_CPATH"
/*
@@ LUA_DIRSEP is the directory separator (for submodules).