repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 9a2d99d128150893d48765d0729a5bc8387be699:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 9a2d99d128150893d48765d0729a5bc8387be699
Author: James Baicoianu 
Date:   Sun Oct 31 01:37:55 2021 -0700

    Allow spawning sounds with direct URLs

diff --git a/scripts/sound.js b/scripts/sound.js
index a4b3478e9f54e3ce2520e03cf1662122fe1b177a..
index ..68d3301f381291cbec9d40d4084bfc2289a998e6 100644
--- a/scripts/sound.js
+++ b/scripts/sound.js
@@ -36,7 +36,7 @@ elation.require(['janusweb.janusbase'], function() {
       }
     }
     this.createAudio = async function(src, audionodes) {
-      var sound = this.getAsset('sound', this.sound_id);
+      var sound = this.getAsset('sound', this.sound_id, true);
       if (!src) {
         this.currentsound = this.sound_id;
         if (sound && sound.src) {

-----END OF PAGE-----