From 9f587861c3fd590683f1112847f047525727a60a Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 29 Jan 2025 22:51:42 -0500 Subject: [PATCH] chore(scenes): reset game state in tutorial --- src/scenes/tutorial.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scenes/tutorial.ts b/src/scenes/tutorial.ts index 39f7fd1..790dc33 100644 --- a/src/scenes/tutorial.ts +++ b/src/scenes/tutorial.ts @@ -13,7 +13,7 @@ import { addText, game, } from '../gameobjects' -import { gameState } from '../helpers' +import { gameState, resetGameState } from '../helpers' const INSTRUCTION_MARGIN = 100 @@ -113,6 +113,7 @@ const instructions = [ ] scene(Scene.Tutorial, () => { + resetGameState() addGame() addPlayer()