fix pause and disappearing notes
This commit is contained in:
parent
532093242a
commit
58266f02a4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user