From 2d8f4ebe7c2995cf5f3a2c399e0870e2a4c6cb84 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Fri, 21 Apr 2023 23:17:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=B0=E9=9A=BEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/start.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/start.vue b/src/ui/start.vue index 9dbf9df..ed01399 100644 --- a/src/ui/start.vue +++ b/src/ui/start.vue @@ -131,7 +131,7 @@ async function clickStartButton(id: string) { if (id === 'easy' || id === 'hard-hard') { start.style.opacity = '0'; await sleep(600); - core.startGame(id); + core.startGame(id === 'easy' ? 'easy' : 'hard'); } if (id === 'load-game') { core.dom.gameGroup.style.display = 'block';