Ensure players replicant saves synchronously

This commit is contained in:
Pandipipas
2026-02-08 17:25:09 +01:00
parent 62ce10df55
commit 39106e9b5f
+1 -1
View File
@@ -97,7 +97,7 @@ export const usePlayersStore = defineStore('players', () => {
replicant.data = normalizePlayers(value); replicant.data = normalizePlayers(value);
replicant.save(); replicant.save();
}, },
{ deep: true } { deep: true, flush: 'sync' }
); );
const setPlayers = (value: PlayersMap) => { const setPlayers = (value: PlayersMap) => {