|
@ -472,13 +472,15 @@ const Player = ({ currentEntryList, children }: any, ref: any) => { |
|
|
setScrobbled(false); |
|
|
setScrobbled(false); |
|
|
if (playQueue.scrobble) { |
|
|
if (playQueue.scrobble) { |
|
|
if (playerNumber === 1) { |
|
|
if (playerNumber === 1) { |
|
|
|
|
|
if (playQueue[currentEntryList][playQueue.player1.index]?.id) { |
|
|
scrobble({ |
|
|
scrobble({ |
|
|
id: playQueue[currentEntryList][playQueue.player1.index].id, |
|
|
id: playQueue[currentEntryList][playQueue.player1.index]?.id, |
|
|
submission: false, |
|
|
submission: false, |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} |
|
|
|
|
|
} else if (playQueue[currentEntryList][playQueue.player2.index]?.id) { |
|
|
scrobble({ |
|
|
scrobble({ |
|
|
id: playQueue[currentEntryList][playQueue.player2.index].id, |
|
|
id: playQueue[currentEntryList][playQueue.player2.index]?.id, |
|
|
submission: false, |
|
|
submission: false, |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|