Skip to content

Commit

Permalink
Properly animate bubble power activations for completed units.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: beb2d8303e204b6fbf271c616e8cf31df3a821a9
  • Loading branch information
cpojer committed Oct 28, 2024
1 parent e927481 commit b4ff20e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hera/behavior/activatePower/activatePowerAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export default async function activatePowerAction(
(!unit.isCompleted() ||
skill === Skill.RecoverAirUnits ||
skill === Skill.SpawnUnitInfernoJetpack ||
skill === Skill.UnlockZombie) &&
skill === Skill.UnlockZombie ||
skill === Skill.Shield) &&
state.map.matchesPlayer(unit, player) &&
matchesActiveType(unitTypes, unit, vector),
);
Expand Down

0 comments on commit b4ff20e

Please sign in to comment.