From 0ea853c2aad2aa3670eb694328743bb806e603bf Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 11 Sep 2018 19:45:38 +0800 Subject: *update --- src/lua/embed/boot.lua.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 35bfdfc..f41ba3b 100644 --- a/src/lua/embed/boot.lua.h +++ b/src/lua/embed/boot.lua.h @@ -96,7 +96,7 @@ jin.nogame = { nogame.t = nogame.ww - 1 end, onEvent = function(e) - if e.type == 'quit' then + if e.type == 'Quit' then jin.core.stop() end end, -- cgit v1.1-26-g67d0