Make it possible to escape the input offsets menu on controller.

This commit is contained in:
EliteMasterEric 2024-04-24 22:08:20 -04:00
parent c3ba4081f1
commit 85e06ef18f

View file

@ -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();
} }