Merge pull request #465 from FunkinCrew/bugfix/miss-judgement

Hide miss popups when hitting ~160ms
This commit is contained in:
Cameron Taylor 2024-04-04 05:30:23 -04:00 committed by GitHub
commit 3cb1f65e1d

View file

@ -2576,7 +2576,7 @@ class PlayState extends MusicBeatSubState
// If daRating is 'miss', that means we made a mistake and should not continue. // If daRating is 'miss', that means we made a mistake and should not continue.
FlxG.log.warn('popUpScore judged a note as a miss!'); FlxG.log.warn('popUpScore judged a note as a miss!');
// TODO: Remove this. // TODO: Remove this.
comboPopUps.displayRating('miss'); // comboPopUps.displayRating('miss');
return; return;
} }
@ -2857,7 +2857,7 @@ class PlayState extends MusicBeatSubState
FlxTransitionableState.skipNextTransIn = true; FlxTransitionableState.skipNextTransIn = true;
FlxTransitionableState.skipNextTransOut = true; FlxTransitionableState.skipNextTransOut = true;
FlxG.sound.music.stop(); if (FlxG.sound.music != null) FlxG.sound.music.stop();
vocals.stop(); vocals.stop();
// TODO: Softcode this cutscene. // TODO: Softcode this cutscene.