From 40d0c65eb1864b3937ace50d0377d8f0909786f7 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Sun, 19 May 2024 01:25:00 +0200 Subject: [PATCH] Fix some store turn error --- stores/turn.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stores/turn.ts b/stores/turn.ts index b6c172a..784cfc2 100644 --- a/stores/turn.ts +++ b/stores/turn.ts @@ -5,7 +5,7 @@ import { CardEffects, type Effect } from "~/netcode/Effect"; import type { Player } from "~/netcode/Player"; watch( - () => goStore.current_game?.current_turn.uuid, + () => goStore.current_game?.current_turn?.uuid, () => { useClientSideStore().activatedClientside = [] })