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 beatmap offset control not working correctly when calibrating from quitting gameplay #29702

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented Sep 5, 2024

Closes #28753. See commit message for more details.

…elect quit

This is an interesting scenario where we arrive at a fresh
`BeatmapOffsetControl` but with a reference score (from the last play).

Our best assumption here is that the beatmap's offset hasn't changed
since the last play, so we want to use it for the `lastPlayBeatmapOffset`.
But due to unfortunate order of execution, `Current.Value` was not yet
initialised.
@bdach bdach merged commit 925710d into ppy:master Sep 6, 2024
11 of 13 checks passed
@peppy peppy deleted the fix-offset-control-wrong-order branch September 8, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants