Skip to content

Commit

Permalink
Merge pull request #162 from AresSC2/fix/unreachable-build-logic
Browse files Browse the repository at this point in the history
fix: allow building logic to be reached
  • Loading branch information
raspersc2 authored Jul 22, 2024
2 parents 3568cd1 + 4801734 commit ef28342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ares/managers/building_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def _handle_construction_orders(self) -> None:
)
continue

elif (
if (
(not worker.is_constructing_scv or worker.is_idle)
and self.ai.can_afford(structure_id)
and self.ai.tech_requirement_progress(structure_id) == 1.0
Expand Down

0 comments on commit ef28342

Please sign in to comment.