Skip to content

Commit

Permalink
Update TitleState.hx
Browse files Browse the repository at this point in the history
closes: #29
  • Loading branch information
mcagabe19 committed Dec 18, 2024
1 parent e95c759 commit ea18278
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/funkin/menus/TitleState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,11 @@ class TitleState extends MusicBeatState

var pressedEnter:Bool = FlxG.keys.justPressed.ENTER;

if (controls.touchC)
for (touch in FlxG.touches.list)
if (touch.justPressed)
pressedEnter = true;
#if FLX_TOUCH
for (touch in FlxG.touches.list)
if (touch.justPressed)
pressedEnter = true;
#end

var gamepad:FlxGamepad = FlxG.gamepads.lastActive;

Expand Down

0 comments on commit ea18278

Please sign in to comment.