Skip to content

Commit

Permalink
fix: music importation
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement-Muth committed Feb 20, 2024
1 parent 9626798 commit 8148489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/game-engine/scenes/loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import startMusic from "../options/startMusic.js"
const loadingScene = async (changeScene, sceneEngine) => {
await injectPage("src/pages/loading.html");

startMusic("../public/sounds/game.mp3");
startMusic("./public/sounds/game.mp3");

var buttonStart = document.createElement("button");
buttonStart.innerText = "Start";
Expand Down

0 comments on commit 8148489

Please sign in to comment.