fix a bug
All checks were successful
deploy / deploy (push) Successful in 1m9s

This commit is contained in:
Lee 2023-10-22 09:19:24 +01:00
parent 2e07c31e59
commit 03f5b6e7da

@ -165,6 +165,7 @@ export const usePlayerScoresStore = create<PlayerScoresStore>()(
const friends = useSettingsStore.getState().friends;
if (players.length == 0) {
for (const friend of friends) {
if (usePlayerScoresStore.getState().exists(friend.id)) continue;
players.push({
id: friend.id,
scores: {