mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Apply single inspection from newer inspectcode verisons
As found in rider EAPs. Appears as a warning and is annoying me occasionally.
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user