fix spamming of getSongInfo packet
This commit is contained in:
parent
2aeee63433
commit
cef89934d3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue