Skip to content

Commit

Permalink
chore(scenes): reset game state in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jan 30, 2025
1 parent 9b349ed commit 9f58786
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scenes/tutorial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
addText,
game,
} from '../gameobjects'
import { gameState } from '../helpers'
import { gameState, resetGameState } from '../helpers'

const INSTRUCTION_MARGIN = 100

Expand Down Expand Up @@ -113,6 +113,7 @@ const instructions = [
]

scene(Scene.Tutorial, () => {
resetGameState()
addGame()
addPlayer()

Expand Down

0 comments on commit 9f58786

Please sign in to comment.