Bump to v0.3-beta5.1, release tomorrow

This commit is contained in:
Ishaan Bhardwaj
2021-05-20 23:25:24 -04:00
parent f5121b62e5
commit 99d3732d00
5 changed files with 11 additions and 8 deletions

View File

@@ -82,9 +82,11 @@ function StickConfigScene:onInputPress(e)
elseif self.input_state > table.getn(configurable_inputs) then
if e.scancode == "return" then
-- save new input, then load next scene
config.input.joysticks = self.new_input
local had_config = config.input ~= nil
if not config.input then config.input = {} end
config.input.joysticks = self.new_input
saveConfig()
scene = InputConfigScene()
scene = had_config and InputConfigScene() or TitleScene()
elseif e.scancode == "delete" or e.scancode == "backspace" then
-- retry
self.input_state = 1