repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 47c6f8c3f03e2b863b81bc3047c454d9faf40829:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 47c6f8c3f03e2b863b81bc3047c454d9faf40829
Author: James Baicoianu 
Date:   Wed Nov 1 11:30:00 2017 -0700

    Fixed undefined variable reference

diff --git a/scripts/room.js b/scripts/room.js
index 21b248eff285488c24ad92fd29ed02eb3303b13a..
index ..8bc288165105dec713e23d491ce3d6ffb4c515fb 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -1002,7 +1002,7 @@ elation.require([
         if (obj && obj.parent) {
           obj.stop();
           obj.parent.remove(obj);
-          realobj.room = false;
+          obj.room = false;
           if (obj.js_id && this.jsobjects[obj.js_id]) {
             delete this.jsobjects[obj.js_id];
           }

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