mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Use dictionary add for safety
This commit is contained in:
@ -934,7 +934,7 @@ namespace osu.Game.Screens.Select
|
||||
public override void AddChild(CarouselItem i)
|
||||
{
|
||||
CarouselBeatmapSet set = (CarouselBeatmapSet)i;
|
||||
BeatmapSetsByID[set.BeatmapSet.ID] = set;
|
||||
BeatmapSetsByID.Add(set.BeatmapSet.ID, set);
|
||||
|
||||
base.AddChild(i);
|
||||
}
|
||||
|
Reference in New Issue
Block a user