Skip to content

Commit

Permalink
fix next turn not sync
Browse files Browse the repository at this point in the history
  • Loading branch information
samdems committed Apr 27, 2024
1 parent ced7344 commit 84743aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stores/playersStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export const usePlayersStore = defineStore('players', ()=> {
} else {
activePlayer.value = keys[index + 1]
}
sync();

}

const increment = (id:string,type:string,amount = 1) => {
Expand Down

0 comments on commit 84743aa

Please sign in to comment.