File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ async def find_placement(
694694 building = self .game_data .units [building .value ].creation_ability .id
695695
696696 if await self .can_place_single (building , near ) and (
697- not addon_place or await self .can_place_single (UnitTypeId . SUPPLYDEPOT , near .offset ((2.5 , - 0.5 )))
697+ not addon_place or await self .can_place_single (AbilityId . TERRANBUILD_SUPPLYDEPOT , near .offset ((2.5 , - 0.5 )))
698698 ):
699699 return near
700700
@@ -718,7 +718,7 @@ async def find_placement(
718718 if addon_place :
719719 # Filter remaining positions if addon can be placed
720720 res = await self .client ._query_building_placement_fast (
721- AbilityId .TERRANBUILDDROP_SUPPLYDEPOTDROP ,
721+ AbilityId .TERRANBUILD_SUPPLYDEPOT ,
722722 [p .offset ((2.5 , - 0.5 )) for p in possible ],
723723 )
724724 possible = [p for r , p in zip (res , possible ) if r ]
You can’t perform that action at this time.
0 commit comments