Skip to content

Commit

Permalink
Update treasure.js
Browse files Browse the repository at this point in the history
takes away the sound loop.
  • Loading branch information
DanCQ authored Jan 6, 2024
1 parent 9a86066 commit 581b59f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion treasure.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const correct = document.getElementById("correct");
const wrong = document.getElementById("wrong");

const bonfire = new Audio("assets/bonfire.mp3"); //background music
bonfire.loop = true;
bonfire.volume = 0.6;

const ocean = new Audio("assets/ocean.mp3"); //ocean sounds
Expand Down

0 comments on commit 581b59f

Please sign in to comment.