This commit is contained in:
parent
2e07c31e59
commit
03f5b6e7da
@ -165,6 +165,7 @@ export const usePlayerScoresStore = create<PlayerScoresStore>()(
|
|||||||
const friends = useSettingsStore.getState().friends;
|
const friends = useSettingsStore.getState().friends;
|
||||||
if (players.length == 0) {
|
if (players.length == 0) {
|
||||||
for (const friend of friends) {
|
for (const friend of friends) {
|
||||||
|
if (usePlayerScoresStore.getState().exists(friend.id)) continue;
|
||||||
players.push({
|
players.push({
|
||||||
id: friend.id,
|
id: friend.id,
|
||||||
scores: {
|
scores: {
|
||||||
|
Loading…
Reference in New Issue
Block a user