From a6deae4796d2a57452b54635b0079975047ab295 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Tue, 23 Feb 2021 23:32:53 -0500 Subject: [PATCH] bullshit lol --- source/TitleState.hx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/TitleState.hx b/source/TitleState.hx index a2ac4af62..d1fa230a2 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -237,6 +237,16 @@ class TitleState extends MusicBeatState var pressedEnter:Bool = FlxG.keys.justPressed.ENTER; + #if mobile + for (touch in FlxG.touches.list) + { + if (touch.justPressed) + { + pressedEnter = true; + } + } + #end + var gamepad:FlxGamepad = FlxG.gamepads.lastActive; if (gamepad != null)