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 song select running updates when screen is not active #25943

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

peppy
Copy link
Member

@peppy peppy commented Dec 20, 2023

Who would have guessed that Schedule calls were there for a reason!

I've tidied things up. Most of the changes I've made here are not required – the schedule is the main thing here. The reason the sound was playing is because one-too-many schedules was removed causing beatmap updates to update carousel specifics while still at the player loader screen.

Note that the selection sound still plays on returning to song select, but this is not a regression. I'm looking at fixing this in a separate PR because I'm in a good place as far as understanding the logic right now and it would be a waste to leave it broken.

Closes #25875.

Who would have guessed that `Schedule` calls were there for a reason!

I've tidied things up. Most of the changes I've made here are not
required – the schedule is the main thing here. The reason the sound was
playing is because one-too-many schedules was removed causing beatmap
updates to update carousel specifics while still at the player loader
screen.

Note that the selection sound still plays on returning to song select,
but this is not a regression. I'm looking at fixing this in a separate
PR because I'm in a good place as far as understanding the logic right
now and it would be a waste to leave it broken.

Closes ppy#25875.
@peppy peppy added area:song-select next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! labels Dec 20, 2023
@bdach bdach self-requested a review December 20, 2023 11:00
@bdach bdach merged commit 22513e0 into ppy:master Dec 20, 2023
14 of 17 checks passed
@peppy peppy deleted the fix-song-select-sound-at-gameplay branch December 22, 2023 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:song-select next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switching beatmap sound plays when exiting gameplay
2 participants