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 audio track not correctly advancing when changing between certain beatmaps #19678

Merged
merged 4 commits into from
Aug 10, 2022

Conversation

peppy
Copy link
Member

@peppy peppy commented Aug 10, 2022

File comparison was not case-insensitive, causing null results and equality as a result in the case where two beatmaps have their filename in their .osu files specified using an incorrect case (null==null).

I also went through a lot of other usages and fixed things up. There were a few other cases of incorrect lookups. Hopefully consolidating the method of lookup will help avoid this in the future...

Addresses #19667 (comment)

smoogipoo
smoogipoo previously approved these changes Aug 10, 2022
@peppy
Copy link
Member Author

peppy commented Aug 10, 2022

Hmm, just keep in mind those extensions are used outside of BeatmapSetInfo with my changes, so that naming is a bit weird (which is why I was going for the interface-based-name)

@smoogipoo
Copy link
Contributor

The namespace is also weird in that case >_> Let's leave it as it is and reconsider later

@smoogipoo smoogipoo merged commit f9c6dc3 into ppy:master Aug 10, 2022
@peppy peppy deleted the fix-file-comparisons-many-places branch August 12, 2022 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants