diff options
Diffstat (limited to 'src/lua/embed/boot.lua.h')
-rw-r--r-- | src/lua/embed/boot.lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h index 212a1e5..2369b0f 100644 --- a/src/lua/embed/boot.lua.h +++ b/src/lua/embed/boot.lua.h @@ -1,8 +1,8 @@ /* boot.lua */ static const char* boot_lua = R"( -jin.args[2] = jin.args[2] or '.' +local cwd = jin.args['cwd'] or '.' jin.filesystem.init() -jin.filesystem.mount(jin.args[2]) +jin.filesystem.mount(cwd) ------------------------------------------------------------------------- -- Config game |