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() {