diff options
author | chai <chaifix@163.com> | 2018-07-29 21:30:03 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-29 21:30:03 +0800 |
commit | 7ac86950d3a89a996974e8406ee88e8f5f44187d (patch) | |
tree | a173ac2e585fa99863ef74fc7d2f7b38f9db7164 /src/lua/embed/boot.lua.h | |
parent | f94264fa4ba347fc362b4ae2deea5a12ff95f5af (diff) |
*update
Diffstat (limited to 'src/lua/embed/boot.lua.h')
-rw-r--r-- | src/lua/embed/boot.lua.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h index 0b04fc1..1ba613b 100644 --- a/src/lua/embed/boot.lua.h +++ b/src/lua/embed/boot.lua.h @@ -1,12 +1,10 @@ /* boot.lua */ static const char* boot_lua = R"( --- init filesystem jin._argv[2] = jin._argv[2] or '.' jin.filesystem.init() jin.filesystem.mount(jin._argv[2]) --- config local conf = {} if jin.filesystem.exist("config.lua") then conf = require "config" @@ -118,7 +116,7 @@ local function main() -- no game function jin.core.onEvent(e) if e.type == 'quit' then - jin.core.quit() + jin.core.stop() end end function jin.core.onDraw() |