1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Merge pull request #24427 from peppy/fix-skin-editor-crash-multi-spectator

Fix game crashing when entering skin editor in multiplayer spectator
This commit is contained in:
Bartłomiej Dach 2023-08-01 18:25:11 +02:00 committed by GitHub
commit d65f08a048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,7 +356,7 @@ namespace osu.Game.Overlays.SkinEditor
{
new SettingsDropdown<SkinComponentsContainerLookup?>
{
Items = availableTargets.Select(t => t.Lookup),
Items = availableTargets.Select(t => t.Lookup).Distinct(),
Current = selectedTarget,
}
}