Skip to content

Commit

Permalink
Merge pull request #159 from AresSC2/feat/restore-power
Browse files Browse the repository at this point in the history
fix: circular import
  • Loading branch information
raspersc2 authored Jul 20, 2024
2 parents 3976118 + ae855d8 commit 9b60724
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ares/behaviors/macro/production_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
if TYPE_CHECKING:
from ares import AresBot

from ares.behaviors.macro import BuildStructure, MacroBehavior, RestorePower
from ares.behaviors.macro import BuildStructure, MacroBehavior
from ares.behaviors.macro.restore_power import RestorePower
from ares.managers.manager_mediator import ManagerMediator


Expand Down
2 changes: 2 additions & 0 deletions src/ares/build_runner/build_order_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,3 +591,5 @@ def _get_position_and_supply_of_first_supply(self) -> tuple[Point2, float]:
),
time,
)

return self.ai.start_location, 999.9

0 comments on commit 9b60724

Please sign in to comment.