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

Fix resume_game_time: don't jump to real_time #822

Merged
merged 5 commits into from
Jun 24, 2024

Conversation

AlexKnauth
Copy link
Contributor

Fixes a bug in resume_game_time that caused the game time to jump forward to the real time after a pause and resume. Now, the game time resumes from the time it was paused at, as it should.

The test included in this PR fails if active_attempt.game_time_paused_at = None; is moved to the beginning of the if body, but passes with the PR as it is.

@CryZe CryZe merged commit bb8cb41 into LiveSplit:master Jun 24, 2024
69 of 70 checks passed
@CryZe CryZe added bug There is a bug. enhancement An improvement for livesplit-core. priority: high This is a high priority issue. labels Jun 24, 2024
@CryZe CryZe added this to the v0.14 milestone Jun 24, 2024
@AlexKnauth AlexKnauth deleted the resume_game_time branch June 24, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There is a bug. enhancement An improvement for livesplit-core. priority: high This is a high priority issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants