diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-06-04 16:01:10 -0600 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-06-04 16:01:10 -0600 |
commit | f6871ced2774a88f5177421224e7ae2375404e61 (patch) | |
tree | a09c7eccb9ed8636a23cf8a7561658762d068908 /src | |
parent | 07a2c18985284431c18a619cfaa3f5681239dd48 (diff) | |
download | bbiy-f6871ced2774a88f5177421224e7ae2375404e61.tar.gz bbiy-f6871ced2774a88f5177421224e7ae2375404e61.zip |
Add prod branch for launching on simponic.xyzprod
Diffstat (limited to 'src')
-rw-r--r-- | src/bootstrap.js | 2 | ||||
-rw-r--r-- | src/game.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap.js b/src/bootstrap.js index 09e7ec5..b1e4d23 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -106,7 +106,7 @@ game.bootstrap = (() => { const loadLevels = function() { game.levels = []; - fetch('/levels') + fetch('levels') .then((r) => r.json()) .then((r) => game.levels = r); } diff --git a/src/game.js b/src/game.js index 5a7e391..c9fe724 100644 --- a/src/game.js +++ b/src/game.js @@ -31,7 +31,7 @@ game.startLoop = () => { game.lastTimeStamp = performance.now(); game.assets.music.play(); if (game.assets.music.paused) { - alert("Failed to start background music; please allow autoplay in your browser settings."); + alert("Failed to start background music; please allow autoplay in your browser settings and refresh."); } requestAnimationFrame(game.loop); }; |