fix spamming of getSongInfo packet

This commit is contained in:
dank074 2023-01-14 15:45:54 -06:00
parent 2aeee63433
commit cef89934d3
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ export class MusicController implements IMusicController
private requestSong(songId: number, arg2: boolean): void
{
if(!this._requestedSongs.get(songId))
if(this._requestedSongs.get(songId) === undefined)
{
this._requestedSongs.set(songId, arg2);
this._songRequestList.push(songId);