repo: janusweb
action: commit
revision: 
path_from: 
revision_from: cdb90ec490d5a53c0ac8d6ecbb633867e570c51c:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit cdb90ec490d5a53c0ac8d6ecbb633867e570c51c
Author: James Baicoianu 
Date:   Wed Mar 28 17:24:43 2018 -0700

    Skip starting object if its parent isn't also started

diff --git a/scripts/janusbase.js b/scripts/janusbase.js
index 18361bd78952a320e165a9d0d77dbd5082f1a418..
index ..f7f437cfe26420410e25b6f7f39a7433fd85eb05 100644
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -508,8 +508,8 @@ elation.require(['engine.things.generic', 'utils.template'], function() {
       }
     }

-    this.createObject = function(type, args) {
-      return room.createObject(type, args, this);
+    this.createObject = function(type, args, skipstart) {
+      return room.createObject(type, args, this, !this.started);
     }
     this.appendChild = function(obj) {
       var proxyobj = obj

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