-- 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: 306935b1dac652993e1a7bad206bf18f6b0ff15e: path_to: revision_to:
commit 306935b1dac652993e1a7bad206bf18f6b0ff15e Author: spyduck <flock.of.murkrows@gmail.com> Date: Wed Apr 11 07:11:29 2018 -0400 Enable sound.play_once diff --git a/scripts/sound.js b/scripts/sound.js
--- a/scripts/sound.js +++ b/scripts/sound.js @@ -150,7 +150,7 @@ elation.require(['janusweb.janusbase'], function() { this.checkBounds = (function() { var worldpos = new THREE.Vector3(); return function() { - if (this.bounds && this.audio && !this.playing) { + if (this.bounds && this.audio && !this.playing && !this.playStarted) { var listener = this.engine.systems.sound.getRealListener(); if (listener) { worldpos.set(0,0,0).applyMatrix4(listener.matrixWorld);
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 15:47:05 2024