diff --git a/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs b/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs index 9f360eca72..7708bd7b50 100644 --- a/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs +++ b/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs @@ -657,10 +657,12 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer userStyleDisplayContainer.Child = new DrawableRoomPlaylistItem(apiItem, true) { AllowReordering = false, - AllowEditing = true, - RequestEdit = _ => showUserStyleSelect() + RequestEdit = _ => ShowUserStyleSelect() }; } + + DrawableRoomPlaylistItem panel = userStyleDisplayContainer.Single(); + panel.AllowEditing = localBeatmap != null; } else userStyleSection.Hide(); diff --git a/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs b/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs index cfd651ba4d..a0aca4b166 100644 --- a/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs +++ b/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs @@ -641,6 +641,9 @@ namespace osu.Game.Screens.OnlinePlay.Playlists RequestEdit = _ => showUserStyleSelect() }; } + + DrawableRoomPlaylistItem panel = userStyleDisplayContainer.Single(); + panel.AllowEditing = localBeatmap != null; } else userStyleSection.Hide();