diff options
Diffstat (limited to 'src/client/main.cpp')
| -rw-r--r-- | src/client/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/main.cpp b/src/client/main.cpp index 5462e31..b10b8ef 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -112,6 +112,8 @@ int main(int argc, char *argv[]){ phys_genesis(); //Create a new lua state, this gets shared everywhere + //Set the path for lua + putenv("LUA_PATH=../data/?.lua"); lua_State *state = luaL_newstate(); L = state; printf("Created lua state at %p\n",L); |
