examples/options: make the Exit widget go back to mainmenu
This commit is contained in:
parent
a1f59a60d6
commit
2b45098bcf
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ function ExitWidget:new(scene, menu)
|
|||
end
|
||||
|
||||
function ExitWidget:action()
|
||||
love.event.quit()
|
||||
core.scenemanager:setStoredScene("mainmenu")
|
||||
end
|
||||
|
||||
return OptionsMenu
|
||||
|
|
Loading…
Reference in a new issue