mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-05-20 01:31:29 -04:00
Fix a bug where multiple vocal tracks would play at once
This commit is contained in:
parent
618231954b
commit
a9dfd4adcf
1 changed files with 4 additions and 0 deletions
|
@ -700,6 +700,8 @@ class PlayState extends MusicBeatSubState
|
||||||
|
|
||||||
if (!overrideMusic)
|
if (!overrideMusic)
|
||||||
{
|
{
|
||||||
|
// Stop the vocals if they already exist.
|
||||||
|
if (vocals != null) vocals.stop();
|
||||||
vocals = currentChart.buildVocals();
|
vocals = currentChart.buildVocals();
|
||||||
|
|
||||||
if (vocals.members.length == 0)
|
if (vocals.members.length == 0)
|
||||||
|
@ -1554,6 +1556,8 @@ class PlayState extends MusicBeatSubState
|
||||||
|
|
||||||
if (!overrideMusic)
|
if (!overrideMusic)
|
||||||
{
|
{
|
||||||
|
// Stop the vocals if they already exist.
|
||||||
|
if (vocals != null) vocals.stop();
|
||||||
vocals = currentChart.buildVocals();
|
vocals = currentChart.buildVocals();
|
||||||
|
|
||||||
if (vocals.members.length == 0)
|
if (vocals.members.length == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue