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

After randomly selecting every beatmap more than once, rewind keeps selecting the same beatmap #25904

Closed
bdach opened this issue Dec 19, 2023 Discussed in #25890 · 0 comments · Fixed by #26127
Closed

After randomly selecting every beatmap more than once, rewind keeps selecting the same beatmap #25904

bdach opened this issue Dec 19, 2023 Discussed in #25890 · 0 comments · Fixed by #26127

Comments

@bdach
Copy link
Collaborator

bdach commented Dec 19, 2023

Discussed in #25890

Originally posted by LittleEndu December 19, 2023
Was told to open an issue but logs are required and I can't generate ones right now 🤷

#23312 (comment)

var beatmap = randomSelectedBeatmaps[^1];
randomSelectedBeatmaps.Remove(beatmap);

This used to be a stack, but after changing it to list, rewind now selects from back but removes from front, causing the selection of the same beatmap until every instance of it has been removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant