Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TR1X bug: In-game clock is twice as fast - 30/60 FPS #1420

Closed
aredfan opened this issue Jul 24, 2024 · 1 comment · Fixed by #1421
Closed

TR1X bug: In-game clock is twice as fast - 30/60 FPS #1420

aredfan opened this issue Jul 24, 2024 · 1 comment · Fixed by #1421
Labels
TR1 TRX bug A bug with TRX
Milestone

Comments

@aredfan
Copy link
Collaborator

aredfan commented Jul 24, 2024

Issue reported by Danath on discord.

The clock desync only happens in-game. If the inventory is open then the clock is moving at normal speed instead.

@aredfan aredfan added the TRX bug A bug with TRX label Jul 24, 2024
@rr- rr- added this to the 4.3 milestone Jul 24, 2024
@rr-
Copy link
Collaborator

rr- commented Jul 24, 2024

Broken in 4.1.

rr- added a commit that referenced this issue Jul 24, 2024
Fixes #1420.

Also, refactors the stat calculation for simpler usage.

The timer would become inaccurate when opening the inventory due to the
internal stats timer not being reset on launch. As a result, the
previous value was meaningless, leading to incorrect elapsed time
calculations on the opening frame.
rr- added a commit that referenced this issue Jul 24, 2024
Fixes #1420.

Also, refactors the stat calculation for simpler usage.

The timer would become inaccurate when opening the inventory due to the
internal stats timer not being reset on launch. As a result, the
previous value was meaningless, leading to incorrect elapsed time
calculations on the opening frame.
@rr- rr- linked a pull request Jul 24, 2024 that will close this issue
2 tasks
@rr- rr- closed this as completed in 0c12ac7 Jul 24, 2024
@rr- rr- added the TR1 label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TR1 TRX bug A bug with TRX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants