mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Fix wrong saving bind place
This commit is contained in:
@@ -103,7 +103,7 @@ function StickConfigScene:onInputPress(e)
|
|||||||
SCENE = InputConfigScene(SETTINGS.firstTime)
|
SCENE = InputConfigScene(SETTINGS.firstTime)
|
||||||
elseif self.input_state > #configurable_inputs then
|
elseif self.input_state > #configurable_inputs then
|
||||||
if e.scancode == "return" or e.input == "menu_decide" then
|
if e.scancode == "return" or e.input == "menu_decide" then
|
||||||
SETTINGS.input.keys = self.new_input
|
SETTINGS.input.joysticks = self.new_input
|
||||||
SCENE = SETTINGS.firstTime and TitleScene() or InputConfigScene()
|
SCENE = SETTINGS.firstTime and TitleScene() or InputConfigScene()
|
||||||
SETTINGS.firstTime = false
|
SETTINGS.firstTime = false
|
||||||
elseif e.scancode == "delete" or e.scancode == "backspace" then
|
elseif e.scancode == "delete" or e.scancode == "backspace" then
|
||||||
|
|||||||
Reference in New Issue
Block a user