mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
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:
commit
c456430910
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue