mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
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
Block a user