From 58266f02a44bca755032f7470e077b89f3c1c472 Mon Sep 17 00:00:00 2001 From: Kade M Date: Thu, 24 Jun 2021 20:10:16 -0700 Subject: [PATCH] fix pause and disappearing notes --- source/PlayState.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index ae2fda0..a3e3faa 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2007,7 +2007,7 @@ class PlayState extends MusicBeatState scoreTxt.x = (originalX - (lengthInPx / 2)) + 335; - if (FlxG.keys.justPressed.ENTER && startedCountdown && canPause) + if (controls.PAUSE && startedCountdown && canPause) { persistentUpdate = false; persistentDraw = true; @@ -2023,6 +2023,7 @@ class PlayState extends MusicBeatState openSubState(new PauseSubState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y)); } + if (FlxG.keys.justPressed.SEVEN) { if (useVideo) @@ -3187,7 +3188,6 @@ class PlayState extends MusicBeatState { if (daNote.canBeHit && daNote.mustPress && !daNote.tooLate && !daNote.wasGoodHit && !directionsAccounted[daNote.noteData]) { - directionsAccounted[daNote.noteData] = true; if (directionList.contains(daNote.noteData)) { directionsAccounted[daNote.noteData] = true;