Skip to content

Commit

Permalink
correção de bug com os sons
Browse files Browse the repository at this point in the history
  • Loading branch information
itallume committed Sep 30, 2024
1 parent 6672530 commit 140532a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export default function Home() {
}

const firstStart = () => {
audioIncrementScore.current = new Audio("/incrementScoreSound.mp3")
audioGameOver.current = new Audio("/gameOverSound.mp3")
audioIncrementScore.current = new Audio("./incrementScoreSound.mp3")
audioGameOver.current = new Audio("./gameOverSound.mp3")
setIntroductionMensage(!introductionMensage)
setStartGame((prevState) => !prevState)
}
Expand Down

0 comments on commit 140532a

Please sign in to comment.