From a5b72ef286f3217fc67a7d1bdfebcd2e7d0182a9 Mon Sep 17 00:00:00 2001 From: "Squishy (C6H12O6+NaCl+H2O)" <106439598+SweetSea-ButImNotSweet@users.noreply.github.com> Date: Thu, 13 Jun 2024 11:41:45 +0700 Subject: [PATCH] Disable OSK when starting game --- game/gamemode.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/gamemode.lua b/game/gamemode.lua index 2eccda6..885010c 100644 --- a/game/gamemode.lua +++ b/game/gamemode.lua @@ -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