Merge branch 'luafiles-srb2home' into 'master'

Open lua files in srb2home

See merge request KartKrew/Kart-Public!234
This commit is contained in:
Sal 2020-09-24 23:23:02 -04:00
commit 2d7590ed39

View file

@ -190,7 +190,7 @@ static int io_open (lua_State *L) {
return pushresult(L,0,filename); return pushresult(L,0,filename);
} }
destFilename = va("luafiles"PATHSEP"%s", filename); destFilename = va("%s"PATHSEP"luafiles"PATHSEP"%s", srb2home, filename);
// Make directories as needed // Make directories as needed
splitter = destFilename; splitter = destFilename;