1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 06:32:36 +08:00

Fix collection dropdown crashing when all collections are deleted at once

This commit is contained in:
Dean Herbert
2024-01-15 17:10:30 +09:00
Unverified
parent 2b45a9b7c6
commit 0a522d260b
+1 -1
View File
@@ -74,7 +74,7 @@ namespace osu.Game.Collections
}
else
{
foreach (int i in changes.DeletedIndices)
foreach (int i in changes.DeletedIndices.OrderByDescending(i => i))
filters.RemoveAt(i + 1);
foreach (int i in changes.InsertedIndices)