Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed Jun 24, 2024
1 parent 5cf5abd commit a3e9153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands2/button/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def onChange(self, command: Command) -> Self:
def _():
pressed = self._condition()

if state.pressed_last not pressed:
if state.pressed_last != pressed:
command.schedule()

state.pressed_last = pressed
Expand Down

0 comments on commit a3e9153

Please sign in to comment.