Fixed wrong call to load_settings instead of save.
This commit is contained in:
2
main.lua
2
main.lua
@@ -67,7 +67,7 @@ function love.update(dt)
|
|||||||
love.event.quit()
|
love.event.quit()
|
||||||
|
|
||||||
-- Save the settings before quitting just in case.
|
-- Save the settings before quitting just in case.
|
||||||
settings:load_settings()
|
settings:save_settings()
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- If the new state exists then unload it's data and set the new state.
|
-- If the new state exists then unload it's data and set the new state.
|
||||||
|
|||||||
Reference in New Issue
Block a user