Skip to content

fix: time increment too slow#148

Merged
elgopher merged 1 commit intomasterfrom
pi-time-fix
Jul 18, 2025
Merged

fix: time increment too slow#148
elgopher merged 1 commit intomasterfrom
pi-time-fix

Conversation

@elgopher
Copy link
Owner

In each call to pi.Update, time was being increased by 1/60 of a second. However, it should be increased by a value based on pi.TPS, not a fixed 60 ticks. For pi.TPS 30, time should increase by 1/30 of a second; for pi.TPS 15, by 1/15 of a second.

In each call to pi.Update, time was being increased by 1/60 of a second.
However, it should be increased by a value based on pi.TPS, not a fixed 60 ticks.
For pi.TPS 30, time should increase by 1/30 of a second; for pi.TPS 15, by 1/15 of a second.
@elgopher elgopher merged commit 3e96828 into master Jul 18, 2025
1 check passed
@elgopher elgopher deleted the pi-time-fix branch July 18, 2025 08:48
@elgopher elgopher added the bug Something isn't working label Jul 18, 2025
@elgopher elgopher self-assigned this Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant