Fix various bugs

- Sometimes keyboard suddenly closed while a key is being pressed on mobile (TEST)
- Fix navigation issue in replay scene
- Fix Confirm key is not usable as Restart in 20G Training
This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-06-14 15:20:36 +07:00
parent a5b72ef286
commit 52f0e5323f
4 changed files with 17 additions and 8 deletions

View File

@@ -12,7 +12,6 @@ local GameMode = Object:extend()
function GameMode:new(player_name, input_file, replay_grade)
VCTRL.toggle(MOBILE and not input_file and not SETTINGS.tvMode)
if MOBILE and not SETTINGS.tvMode then love.keyboard.setTextInput(false) end
VCTRL.reset()
if player_name == nil then self.training = true else self.training = false end