Skip to content

Commit

Permalink
skill issue detected
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Apr 17, 2024
1 parent a926437 commit bce26fe
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions source/funkin/menus/TitleState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,13 @@ class TitleState extends MusicBeatState
{
if (FlxG.keys.justPressed.F) FlxG.fullscreen = !FlxG.fullscreen;

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

#if mobile
for (touch in FlxG.touches.list)
{
if (touch.justPressed)
{
pressedEnter = true;
}
if (MobileControls.mobileC) {
for (touch in FlxG.touches.list)
if (touch.justPressed)
pressedEnter = true;
}
#end

var gamepad:FlxGamepad = FlxG.gamepads.lastActive;

Expand Down

0 comments on commit bce26fe

Please sign in to comment.