Increase updater count

This commit is contained in:
Anton Vakhrushev 2020-07-21 10:00:56 +03:00
parent 92b5249df4
commit a073110143

View File

@ -43,7 +43,7 @@ export const loop = ErrorMapper.wrapLoop(() => {
console.log('Harvester Err', err);
}
const UPGRADER_CREEP_COUNT = 2;
const UPGRADER_CREEP_COUNT = 3;
const upgraderCreeps = Object.values(Game.creeps).filter((c) => c.memory.role === ROLE_UPGRADER);
if (upgraderCreeps.length < UPGRADER_CREEP_COUNT) {
const firstSpawn = _.first(Object.values(Game.spawns));