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