Merge pull request #998 from sevenrats/options-closes-options

options button closes user settings menu
This commit is contained in:
1hitsong 2023-02-01 20:13:42 -05:00 committed by GitHub
commit 77d8cd7a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,11 @@ function onKeyEvent(key as string, press as boolean) as boolean
return true
end if
if key = "options"
m.global.sceneManager.callFunc("popScene")
return true
end if
if key = "right"
settingSelected()
end if