Skip to content

Commit

Permalink
fix non move multi boosts
Browse files Browse the repository at this point in the history
  • Loading branch information
ikiris committed May 19, 2020
1 parent 0875fb3 commit 07f2215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/overlords/Overlord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export abstract class Overlord {
const [moveBoosts, nonMoveBoosts] = _.partition(neededBoostResources,
resource => Abathur.isMoveBoost(<ResourceConstant>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, <ResourceConstant>boost);
Expand Down

0 comments on commit 07f2215

Please sign in to comment.