From 3fe248100b905ce301601c68a738bbd2aa40130b Mon Sep 17 00:00:00 2001 From: zGeneral Date: Fri, 16 Oct 2020 16:49:03 +0200 Subject: [PATCH] https://github.com/bencbartlett/Overmind/pull/171 --- src/overlords/Overlord.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/overlords/Overlord.ts b/src/overlords/Overlord.ts index db059b425..bebf13da5 100644 --- a/src/overlords/Overlord.ts +++ b/src/overlords/Overlord.ts @@ -601,8 +601,8 @@ export abstract class Overlord { const [moveBoosts, nonMoveBoosts] = _.partition(neededBoostResources, resource => Abathur.isMoveBoost(resource)); - - for (const boost of [...moveBoosts, nonMoveBoosts]) { // try to get move boosts first if they're available + // bug fix: https://github.com/bencbartlett/Overmind/pull/171 + for (const boost of [...moveBoosts, ...nonMoveBoosts]) { // try to get move boosts first if they're available const boostLab = _.find(evolutionChamber.boostingLabs, lab => lab.mineralType == boost); if (boostLab) { zerg.task = Tasks.getBoosted(boostLab, boost);