From 07f221587e0356badddd47eb3cade33004aeba5e Mon Sep 17 00:00:00 2001 From: Blake Dunlap Date: Mon, 18 May 2020 04:57:31 -0700 Subject: [PATCH] fix non move multi boosts --- src/overlords/Overlord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlords/Overlord.ts b/src/overlords/Overlord.ts index db059b425..3192726db 100644 --- a/src/overlords/Overlord.ts +++ b/src/overlords/Overlord.ts @@ -602,7 +602,7 @@ 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 + 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);