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 @@ -695,7 +695,7 @@ async def find_placement(
695695 building = self .game_data .units [building .value ].creation_ability .id
696696
697697 if await self .can_place_single (building , near ) and (
698- not addon_place or await self .can_place_single (UnitTypeId . SUPPLYDEPOT , near .offset ((2.5 , - 0.5 )))
698+ not addon_place or await self .can_place_single (AbilityId . TERRANBUILD_SUPPLYDEPOT , near .offset ((2.5 , - 0.5 )))
699699 ):
700700 return near
701701
@@ -719,7 +719,7 @@ async def find_placement(
719719 if addon_place :
720720 # Filter remaining positions if addon can be placed
721721 res = await self .client ._query_building_placement_fast (
722- AbilityId .TERRANBUILDDROP_SUPPLYDEPOTDROP ,
722+ AbilityId .TERRANBUILD_SUPPLYDEPOT ,
723723 [p .offset ((2.5 , - 0.5 )) for p in possible ],
724724 )
725725 possible = [p for r , p in zip (res , possible ) if r ]
You can’t perform that action at this time.
0 commit comments