Skip to content

Commit

Permalink
Update planets.py
Browse files Browse the repository at this point in the history
Reset auto-advance timer on each manual advance
  • Loading branch information
bigjosh authored Dec 1, 2023
1 parent 15bae55 commit 2f630b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/planets.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def joycb(key):
update_timer()
if (key==keyleds.JOY_RT):
oldpause=pauseflag
update_timer() # reset auto-advance timer
pauseflag=False # make sure it redraws
next()
pauseflag=oldpause
Expand Down

0 comments on commit 2f630b3

Please sign in to comment.