aboutsummaryrefslogtreecommitdiff
path: root/src/script/embed/boot.lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-20 23:37:11 +0800
committerchai <chaifix@163.com>2018-05-20 23:37:11 +0800
commit51ba9cb2a6b0b9395a2912eadeb954c95e4c1d3c (patch)
tree58ce7d8b50c0d9a451d26bf0b3230b1c2e2f2782 /src/script/embed/boot.lua.h
parentadfda73e1810973a40b7bedd9a8edc3e7ab89e3c (diff)
修改目录结构
Diffstat (limited to 'src/script/embed/boot.lua.h')
-rw-r--r--src/script/embed/boot.lua.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/embed/boot.lua.h b/src/script/embed/boot.lua.h
index cb61468..21c1899 100644
--- a/src/script/embed/boot.lua.h
+++ b/src/script/embed/boot.lua.h
@@ -145,6 +145,10 @@ local function main()
end
jin.core.run()
end
+ -- quit subsystems
+ jin.graphics.destroy()
+ -- exit whole game
+ jin.core.exit()
end
main()