Merge pull request #414 from FunkinCrew/bugfix/opponent-mute-on-miss

Fix a bug where lag could cause the opponent to miss which would mute the vocals.
This commit is contained in:
Cameron Taylor 2024-03-25 13:37:12 -04:00 committed by GitHub
commit c456430910

View file

@ -2089,8 +2089,7 @@ class PlayState extends MusicBeatSubState
holdNote.handledMiss = true; holdNote.handledMiss = true;
// We dropped a hold note. // We dropped a hold note.
// Mute vocals and play miss animation, but don't penalize. // Play miss animation, but don't penalize.
vocals.opponentVolume = 0;
currentStage.getOpponent().playSingAnimation(holdNote.noteData.getDirection(), true); currentStage.getOpponent().playSingAnimation(holdNote.noteData.getDirection(), true);
} }
} }