aboutsummaryrefslogtreecommitdiff
path: root/src/script/embed/boot.lua.h
diff options
context:
space:
mode:
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()