repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 160046030617991a1b2a13feedcbf95a5a73b8ea:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 160046030617991a1b2a13feedcbf95a5a73b8ea
Author: James Baicoianu 
Date:   Fri Nov 19 23:16:37 2021 -0800

      doesn't need an id

diff --git a/scripts/room.js b/scripts/room.js
index 0a03cd740197ec131167b512041eccf3d8e520a2..
index ..17e5d75e519269797155662f180a2733bca946a0 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -2307,7 +2307,9 @@ console.log('connect room audio to graph', this.audionodes.gain, this.audionodes
           var asset = this.roomassets[type][assetname];

           let defaultasset = (janus.assetpack.assetmap[type] ? janus.assetpack.assetmap[type][assetname] : undefined);
-          if (assetname != asset.src && asset !== defaultasset) {
+          if (type == 'script') {
+            assetsrc += '    \n';
+          } else if (assetname != asset.src && asset !== defaultasset) {
             assetsrc += '    \n';
           }
         }

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