Skip to content

Commit c921303

Browse files
authored
Merge pull request #304 from thedropbears/fix_ignore_balistics_overide
fix logic check for balistics
2 parents db43414 + 97bf31c commit c921303

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

controllers/algae_shooter.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ def shoot(self) -> None:
3535
return
3636
if self.reef_intake.is_executing:
3737
return
38-
if (
39-
self.use_ballistics and not self.ballistics_component.is_in_range()
40-
) or not self.ballistics_component.is_aligned():
38+
if self.use_ballistics and (
39+
not self.ballistics_component.is_in_range()
40+
or not self.ballistics_component.is_aligned()
41+
):
4142
return
4243
self.engage()
4344

0 commit comments

Comments
 (0)