-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: janusweb action: commit revision: path_from: revision_from: 9ddcdb598897a6324e3acf10a7bb3390f11d3746: path_to: revision_to:
commit 9ddcdb598897a6324e3acf10a7bb3390f11d3746 Author: James Baicoianu <james_github@baicoianu.com> Date: Sat Oct 21 03:03:02 2017 -0700 Restart sound if already playing diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js +++ b/scripts/room.js @@ -1066,6 +1066,10 @@ elation.require([ this.sounds[name][k] = properties[k]; } } + if (this.sounds[name].playing) { + this.sounds[name].stop(); + this.sounds[name].seek(0); + } this.sounds[name].play(); } }
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 19:04:08 2024