Revert "Separate in-game bindings from menu bindings"

This reverts commit 0fce4b632f.
This commit caused issue #41. Will resolve ASAP.
This commit is contained in:
Ishaan Bhardwaj
2021-10-21 20:52:42 -04:00
parent 0fce4b632f
commit 7495c4ad04
12 changed files with 44 additions and 140 deletions

View File

@@ -80,7 +80,8 @@ function CreditsScene:render()
end
function CreditsScene:onInputPress(e)
if e.input == "menu_decide" or e.input == "menu_back" then
if e.input == "menu_decide" or e.scancode == "return" or
e.input == "menu_back" or e.scancode == "delete" or e.scancode == "backspace" then
scene = TitleScene()
switchBGM(nil)
end