Shuffle playlist order (#612)

## Description:

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
This commit is contained in:
Scott Anderson
2025-04-28 12:17:13 -04:00
committed by GitHub
parent eed489a551
commit 96c8429a16
+2 -2
View File
@@ -58,9 +58,9 @@ export class MapPlaylist {
count--;
}
});
while (!this.allNonConsecutive(mapsPlaylist)) {
do {
random.shuffleArray(mapsPlaylist);
}
} while (!this.allNonConsecutive(mapsPlaylist));
}
// Specifically controls how the playlists rotate.