diff options
Diffstat (limited to 'strategy.py')
-rw-r--r-- | strategy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strategy.py b/strategy.py index 900cf8f..d0554c9 100644 --- a/strategy.py +++ b/strategy.py @@ -186,7 +186,7 @@ class Strategy: self.gui.draw_bar(((100,40),(500,24)), success_rate, thresh=.98, color=(0,0,127)) - if success_rate >= 0.98: + if success_rate >= 0.98 and self.c.movement_steadyness() < math.pi/4: self.c.send_shoot() |