From 20b7944602626f19a538e976a57d1d344e10f71b Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 19 Apr 2022 16:51:15 -0600 Subject: Add music/sounds; fix a bug where you could attempt to resume a game when it was won --- src/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bootstrap.js') diff --git a/src/bootstrap.js b/src/bootstrap.js index 4519ed2..09e7ec5 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -53,7 +53,7 @@ game.bootstrap = (() => { "wordWin", "wordYou", "water" ].map((x) => assets[x] = `assets/image/${x}.png`); [ - "background-music", "death", "move", "win" + "music", "death", "move", "win" ].map((x) => assets[x] = `assets/sound/${x}.mp3`); const loadScripts = function(onDone) { -- cgit v1.2.3-70-g09d2