Skip to content

Commit

Permalink
Much better handling of #27
Browse files Browse the repository at this point in the history
  • Loading branch information
krismaz committed Mar 3, 2018
1 parent 5a55a25 commit 64ba0a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def shift_time(self, diff):
print(e)

def shift_step(self, diff):
if not self.to_break:
diff -= 1
self.next_step = max(0, self.next_step + diff)
self.to_break = True

Expand Down

0 comments on commit 64ba0a1

Please sign in to comment.