From 7ac86950d3a89a996974e8406ee88e8f5f44187d Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 29 Jul 2018 21:30:03 +0800 Subject: *update --- src/lua/embed/boot.lua.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lua/embed/boot.lua.h') 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() -- cgit v1.1-26-g67d0