mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-04 04:33:24 +00:00
Merge pull request #211 from FunkinCrew/bugfix/overlapping-vocals
Fix a bug where multiple vocal tracks would play at once
This commit is contained in:
commit
ba5fa6b45e
|
@ -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…
Reference in a new issue