Closed XenoAmess closed 1 year ago
i understand you point, i would wish to disable this feature, maybe if some config is set like Room.prototype.isConstructingSpawn = function() { if (!this.controller || !this.controller.my || !config.myRoom.enableGetEnergyFromAnyStructures) { return false; } if (this.findPropertyFilter(FIND_MY_STRUCTURES, 'structureType', [STRUCTURE_SPAWN], {}).length > 0) { return false; } return true; };
i understand you point, i would wish to disable this feature, maybe if some config is set like
Room.prototype.isConstructingSpawn = function() { if (!this.controller || !this.controller.my || !config.myRoom.enableGetEnergyFromAnyStructures) { return false; } if (this.findPropertyFilter(FIND_MY_STRUCTURES, 'structureType', [STRUCTURE_SPAWN], {}).length > 0) { return false; } return true; };
Configuration added. please review when you have time.
Have a nice weekend.
This pull request was merged by worlddriven.
Configuration added. please review when you have time.
Have a nice weekend.