From d033400614e7e2c0ff49e5100c81e937e5818e74 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 28 Jul 2018 13:47:51 +0800 Subject: *update --- src/lua/embed/boot.lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 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 2a9cfc5..c1d22a3 100644 --- a/src/lua/embed/boot.lua.h +++ b/src/lua/embed/boot.lua.h @@ -117,7 +117,7 @@ local function onError(msg) print("Error:\n" .. msg) function jin.core.onEvent(e) if e.type == 'quit' then - jin.core.quit() + jin.core.stop() end end local ww, wh = jin.graphics.size() @@ -150,7 +150,7 @@ local function main() -- quit subsystems jin.graphics.destroy() -- exit whole game - jin.core.exit() + jin.core.quit() end main() -- cgit v1.1-26-g67d0