aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/boot.lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/embed/boot.lua.h')
-rw-r--r--src/lua/embed/boot.lua.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h
index ab241f1..0b04fc1 100644
--- a/src/lua/embed/boot.lua.h
+++ b/src/lua/embed/boot.lua.h
@@ -19,7 +19,7 @@ conf.title = conf.title or ("jin v" .. jin.version())
-- initialize subsystems
jin.graphics.init(conf)
---jin.audio.init(conf)
+jin.audio.init(conf)
-- open debug mode, must after jin.graphics.init
if jin._argv[3] == '-d' then
@@ -131,6 +131,7 @@ local function main()
end
-- quit subsystems
jin.graphics.destroy()
+ jin.audio.destroy()
-- exit whole game
jin.core.quit()
end