examples/options: make the Exit widget go back to mainmenu

This commit is contained in:
Kazhnuz 2019-04-13 10:00:34 +02:00
parent a1f59a60d6
commit 2b45098bcf
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function ExitWidget:new(scene, menu)
end
function ExitWidget:action()
love.event.quit()
core.scenemanager:setStoredScene("mainmenu")
end
return OptionsMenu