1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 00:53:55 +08:00

Merge pull request #22531 from peppy/apply-future-rider-inspection

Apply single inspection from newer inspectcode versions
This commit is contained in:
Bartłomiej Dach
2023-02-06 20:05:49 +01:00
committed by GitHub
Unverified
+2 -2
View File
@@ -315,10 +315,10 @@ namespace osu.Game.Overlays
channelListing.Hide();
textBar.ShowSearch.Value = false;
if (loadedChannels.ContainsKey(newChannel))
if (loadedChannels.TryGetValue(newChannel, out var loadedChannel))
{
currentChannelContainer.Clear(false);
currentChannelContainer.Add(loadedChannels[newChannel]);
currentChannelContainer.Add(loadedChannel);
}
else
{