File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ def raise_and_lower_depots():
3636 for depo in self .structures (UnitTypeId .SUPPLYDEPOT ).ready :
3737 for unit in self .enemy_units :
3838 if unit .distance_to (depo ) < 15 :
39- break
39+ return
4040 else :
4141 depo (AbilityId .MORPH_SUPPLYDEPOT_LOWER )
4242 # Lower depos when no enemies are nearby
4343 for depo in self .structures (UnitTypeId .SUPPLYDEPOTLOWERED ).ready :
4444 for unit in self .enemy_units :
4545 if unit .distance_to (depo ) < 10 :
4646 depo (AbilityId .MORPH_SUPPLYDEPOT_RAISE )
47- break
47+ return
4848
4949 raise_and_lower_depots ()
5050
Original file line number Diff line number Diff line change @@ -321,6 +321,7 @@ def paint(pt: Point2) -> None:
321321 point : Point2 = Point2 ((px , py ))
322322 remaining .discard (point )
323323 paint (point )
324+ queue .append (point )
324325 current_group .add (point )
325326 if len (current_group ) >= minimum_points_per_group :
326327 yield frozenset (current_group )
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13VERSIONS : list [dict [str , int | str ]] = [
24 {
35 "base-version" : 52910 ,
You can’t perform that action at this time.
0 commit comments