From 8a0d9a16c8f6a202e0ab2b0ffd65bdd16fa1347a Mon Sep 17 00:00:00 2001 From: magnetenstad Date: Mon, 16 Oct 2023 22:28:12 +0200 Subject: [PATCH] Don't play walkOn twice --- src/stores/game.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/game.ts b/src/stores/game.ts index 69d0420..8464210 100644 --- a/src/stores/game.ts +++ b/src/stores/game.ts @@ -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) {