Disable OSK when starting game

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-06-13 11:41:45 +07:00
parent a0575bdfab
commit a5b72ef286

View File

@@ -11,8 +11,8 @@ local Randomizer = require 'game.randomizer'
local GameMode = Object:extend()
function GameMode:new(player_name, input_file, replay_grade)
-- VCTRL.toggle(MOBILE and not input_file and not SETTINGS.tvMode)
VCTRL.toggle(true)
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