summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 3e28d90..deff1a1 100644
--- a/main.lua
+++ b/main.lua
@@ -74,6 +74,9 @@ function love.draw()
love.graphics.print("Current FPS: "..tostring(love.timer.getFPS()), 10, 10+9*scale, 0, scale, scale)
end
end
+function love.quit()
+ Settings.save()
+end
-- Pass input to Controller
function love.gamepadaxis(joystick, axis, value) Controller.gamepadaxis(joystick, axis, value) end
function love.gamepadpressed(joystick, key) Controller.gamepadpressed(joystick, key) end