remember to delay instance

beta.r3js.org
-=yb4f310 2017-10-27 11:07:34 +02:00
parent 8d82286f29
commit c366810951
1 changed files with 14 additions and 1 deletions

View File

@ -63,7 +63,20 @@ GameLib.Component = function(
*/
if (this.linked) {
try {
this.createInstance();
if (!this.delayed) {
this.createInstance();
}
// else {
// GameLib.Event.Subscribe(
// GameLib.Event.DELAYED_INSTANCE,
// function(data) {
//
// }
// )
// }
//
} catch (error) {
console.error(error);
}