beta.r3js.org
-=yb4f310 2017-10-27 09:43:19 +02:00
parent 28bcf47c7e
commit 543b68046f
1 changed files with 4 additions and 4 deletions

View File

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