From 80789508b9655d25629223b9dcc84b4cfb77ce45 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 29 Jun 2020 15:29:03 -0400 Subject: Updates for mdoc Also more tests --- src/client/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/main.cpp') 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); -- cgit v1.2.3-70-g09d2