repo: janusweb
action: commit
revision: 
path_from: 
revision_from: d106b26d51dda4362f7e072e3982bd84069b9e4b:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit d106b26d51dda4362f7e072e3982bd84069b9e4b
Author: James Baicoianu 
Date:   Sun Oct 31 02:04:32 2021 -0700

    Fix distancemodel parameter case

diff --git a/scripts/remoteplayer.js b/scripts/remoteplayer.js
index 98d25c9ec8897208c60090cdda93b085fc3d1f27..
index ..bca557c40dc4631d52d65ece1e6f087aa276b4cb 100644
--- a/scripts/remoteplayer.js
+++ b/scripts/remoteplayer.js
@@ -113,7 +113,7 @@ elation.component.add('engine.things.remoteplayer', function() {
   this.addVoice = async function(stream) {
     this.mouth = this.createObject('sound', {
       pos: V(0, 0, 0),
-      distanceModel: 'exponential',
+      distancemodel: 'exponential',
       dist: 8,
       rolloff: 0.75,
     });

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