repo: janusweb action: commit revision: path_from: revision_from: 21a43c7c8af48149801e2751fa415e1af15372b3: path_to: revision_to:
commit 21a43c7c8af48149801e2751fa415e1af15372b3 Author: James BaicoianuDate: Sun May 13 17:57:29 2018 -0700 Fixed missing ) 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 && !(this.play_once && this.playStarted) {
+ if (this.bounds && this.audio && !this.playing && !(this.play_once && this.playStarted)) {
var listener = this.engine.systems.sound.getRealListener();
if (listener) {
worldpos.set(0,0,0).applyMatrix4(listener.matrixWorld);
-----END OF PAGE-----