From 72b18e3a7e71f81cc4308c6d0f4d4a24120aa947 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Wed, 3 Jun 2026 22:23:28 -0700
Subject: migrate saved stats to flat json

---
 src/components/Game/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/Game/index.tsx')

diff --git a/src/components/Game/index.tsx b/src/components/Game/index.tsx
index cde682d..902464b 100644
--- a/src/components/Game/index.tsx
+++ b/src/components/Game/index.tsx
@@ -45,7 +45,7 @@ export function Game({
 }: Props) {
   const [sessionDate] = React.useState(() => getUtcDate());
   const recentFinishedPlay = localStorage.getItem("recentFinishedPlay");
-  const hasFinishedCurrentRound = didGuess || currentTry >= guesses.length;
+  const hasFinishedCurrentRound = didGuess || currentTry >= guesses.length || (recentFinishedPlay === sessionDate && mode === "daily");
   const isGameOver = hasFinishedCurrentRound;
   const isBlocked =
     mode === "daily" &&
-- 
cgit v1.2.3

