diff --git a/src/lib/components/modules/PreviouslyPlayedSongs.svelte b/src/lib/components/modules/PreviouslyPlayedSongs.svelte index 0b5ac6c..d70a76f 100644 --- a/src/lib/components/modules/PreviouslyPlayedSongs.svelte +++ b/src/lib/components/modules/PreviouslyPlayedSongs.svelte @@ -147,7 +147,7 @@ {:else}
- {#each maps as map (map.taData.guid)} + {#each maps as map}
{ - activeSongPlayers.add(`${playerGuid}-${levelId}`); + activeSongPlayers.add(`${playerGuid}-${levelId.toLowerCase()}`); }); const response = await client.playSong(currentSong, playingPlayerIds); @@ -623,7 +623,7 @@ if (!levelId) return; // Remove player from active song tracking - activeSongPlayers.delete(`${rts.player!.guid}-${levelId}`); + activeSongPlayers.delete(`${rts.player!.guid}-${levelId.toLowerCase()}`); const map = upcomingQueueMaps.find(x => x.taData.gameplayParameters!.beatmap!.levelId.toUpperCase() === levelId.toUpperCase() @@ -639,7 +639,7 @@ // Check if any players are still playing this song const playersStillPlaying = Array.from(activeSongPlayers) - .some(key => key.endsWith(`-${levelId}`)); + .some(key => key.endsWith(`-${levelId.toLowerCase()}`)); const completionType = playersStillPlaying ? 'Still Awaiting Scores'