From 543b68046fbaa76901dc62de2723d5a45640651b Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 27 Oct 2017 09:43:19 +0200 Subject: [PATCH] building --- src/game-lib-a-component-a.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game-lib-a-component-a.js b/src/game-lib-a-component-a.js index a026be7..4c60a7c 100644 --- a/src/game-lib-a-component-a.js +++ b/src/game-lib-a-component-a.js @@ -26,7 +26,7 @@ GameLib.Component = function( this.selected = false; - this.built = false; + this.building = false; this.loaded = false; @@ -292,11 +292,11 @@ GameLib.Component.prototype.toApiObject = function() { */ GameLib.Component.prototype.buildIdToObject = function() { - if (this.built) { + if (this.building) { return; } - this.built = true; + this.building = true; this.idToObject = {}; @@ -410,7 +410,7 @@ GameLib.Component.prototype.buildIdToObject = function() { this.idToObject[this.id] = this; - this.built = false; + this.building = false; }; GameLib.Component.prototype.generateNewIds = function() {