From e3ddc74a36e4336d28e9e09586b5194c2e6e6dc6 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 9 Sep 2018 18:03:05 +0800 Subject: *update --- src/lua/modules/_embed/boot.lua.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lua/modules/_embed/boot.lua.h') diff --git a/src/lua/modules/_embed/boot.lua.h b/src/lua/modules/_embed/boot.lua.h index 8ff89ee..f7ffc43 100644 --- a/src/lua/modules/_embed/boot.lua.h +++ b/src/lua/modules/_embed/boot.lua.h @@ -1,8 +1,8 @@ /* boot.lua */ static const char* boot_lua = R"( -jin._argv[2] = jin._argv[2] or '.' +jin.args[2] = jin.args[2] or '.' jin.filesystem.init() -jin.filesystem.mount(jin._argv[2]) +jin.filesystem.mount(jin.args[2]) ------------------------------------------------------------------------- -- Config game @@ -15,7 +15,7 @@ end jin.config.width = jin.config.width or 576 jin.config.height = jin.config.height or 448 jin.config.vsync = jin.config.vsync or true -jin.config.title = jin.config.title or ("jin v" .. jin.version()) +jin.config.title = jin.config.title or ("jin v" .. jin.version) jin.config.resizable = jin.config.resizable or false jin.config.fullscreen = jin.config.fullscreen or false jin.config.fps = jin.config.fps or 60 -- cgit v1.1-26-g67d0