summaryrefslogtreecommitdiff
path: root/src/bootstrap.js
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-19 16:51:15 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-19 16:51:15 -0600
commit20b7944602626f19a538e976a57d1d344e10f71b (patch)
tree24896f9fcc4d2095a64e0ae58cd513b88f41e282 /src/bootstrap.js
parent58ceff79496f60969eecb28a767b1ea28292becb (diff)
downloadbbiy-20b7944602626f19a538e976a57d1d344e10f71b.tar.gz
bbiy-20b7944602626f19a538e976a57d1d344e10f71b.zip
Add music/sounds; fix a bug where you could attempt to resume a game when it was won
Diffstat (limited to 'src/bootstrap.js')
-rw-r--r--src/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
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) {