Skip to content

Commit

Permalink
https://github.com/bencbartlett/Overmind/pull/171
Browse files Browse the repository at this point in the history
  • Loading branch information
zGeneral committed Oct 16, 2020
1 parent 15cb95b commit 3fe2481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/overlords/Overlord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,8 @@ 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
// 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, <ResourceConstant>boost);
Expand Down

0 comments on commit 3fe2481

Please sign in to comment.