repo: janusweb action: commit revision: path_from: revision_from: 8bdb8c85566ac09c6036e88ffc5d34fd1bce8392: path_to: revision_to:
commit 8bdb8c85566ac09c6036e88ffc5d34fd1bce8392 Author: James BaicoianuDate: Wed Apr 1 11:08:14 2020 -0700 Remove object from global room.objects array when removed diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -700,6 +700,9 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f
realobj.stop();
this.remove(realobj);
this.updateScriptChildren();
+ if (room.objects[obj.js_id]) {
+ delete room.objects[obj.js_id];
+ }
}
}
}
-----END OF PAGE-----