Skip to content

Commit

Permalink
Merge branch 'luafiles-srb2home' into 'master'
Browse files Browse the repository at this point in the history
Open lua files in srb2home

See merge request KartKrew/Kart-Public!234
  • Loading branch information
TehRealSalt committed Sep 25, 2020
2 parents 680b8e3 + b70d765 commit 2d7590e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blua/liolib.c
Expand Up @@ -190,7 +190,7 @@ static int io_open (lua_State *L) {
return pushresult(L,0,filename);
}

destFilename = va("luafiles"PATHSEP"%s", filename);
destFilename = va("%s"PATHSEP"luafiles"PATHSEP"%s", srb2home, filename);

// Make directories as needed
splitter = destFilename;
Expand Down

0 comments on commit 2d7590e

Please sign in to comment.