mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
Make it possible to escape the input offsets menu on controller.
This commit is contained in:
parent
c3ba4081f1
commit
85e06ef18f
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ class LatencyState extends MusicBeatSubState
|
||||||
|
|
||||||
var helpText:FlxText = new FlxText();
|
var helpText:FlxText = new FlxText();
|
||||||
helpText.setFormat(Paths.font("vcr.ttf"), 20);
|
helpText.setFormat(Paths.font("vcr.ttf"), 20);
|
||||||
helpText.text = "Press ESC to return to main menu";
|
helpText.text = "Press BACK to return to main menu";
|
||||||
helpText.x = FlxG.width - helpText.width;
|
helpText.x = FlxG.width - helpText.width;
|
||||||
helpText.y = FlxG.height - (helpText.height * 2) - 2;
|
helpText.y = FlxG.height - (helpText.height * 2) - 2;
|
||||||
add(helpText);
|
add(helpText);
|
||||||
|
@ -309,7 +309,7 @@ class LatencyState extends MusicBeatSubState
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.ESCAPE)
|
if (controls.BACK)
|
||||||
{
|
{
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue