Skip to content

Commit

Permalink
Update OutdatedState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 authored Sep 21, 2024
1 parent 8612dce commit 5b4e5d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/OutdatedState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ class OutdatedState extends MusicBeatState
checker.x += 0.45 / (ClientPrefs.framerate / 60);
checker.y += (0.16 / (ClientPrefs.framerate / 60));
if(!leftState) {
if (FlxG.keys.justPressed.ENTER) {
if (virtualPad.buttonA.justPressed || FlxG.keys.justPressed.ENTER) {
leftState = true;
#if windows FlxG.switchState(UpdateState.new);
#if (windows || android) FlxG.switchState(UpdateState.new);
#else
CoolUtil.browserLoad("https://github.com/JordanSantiagoYT/FNF-JS-Engine/releases/latest");
#end
}
if (virtualPad.buttonA.justPressed || FlxG.keys.justPressed.SPACE) {
if (FlxG.keys.justPressed.SPACE) {
CoolUtil.browserLoad("https://github.com/JordanSantiagoYT/FNF-JS-Engine/releases/latest");
}
else if(controls.BACK) {
Expand Down

0 comments on commit 5b4e5d6

Please sign in to comment.