Skip to content

Commit

Permalink
Don't play walkOn twice
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetenstad committed Oct 16, 2023
1 parent a42143b commit 8a0d9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const useGameStore = defineStore('game', {
if (
this.game &&
this.gameState.player &&
getVisitsOfUser(this.game, this.gameState.player).length <= 1
getVisitsOfUser(this.game, this.gameState.player).length == 0
) {
const user = useUsersStore().getUser(this.gameState.player)
if (user) {
Expand Down

0 comments on commit 8a0d9a1

Please sign in to comment.