mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 23:02:54 +08: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:
parent
9bcc6bf6da
commit
701d21c26f
@ -315,10 +315,10 @@ namespace osu.Game.Overlays
|
|||||||
channelListing.Hide();
|
channelListing.Hide();
|
||||||
textBar.ShowSearch.Value = false;
|
textBar.ShowSearch.Value = false;
|
||||||
|
|
||||||
if (loadedChannels.ContainsKey(newChannel))
|
if (loadedChannels.TryGetValue(newChannel, out var loadedChannel))
|
||||||
{
|
{
|
||||||
currentChannelContainer.Clear(false);
|
currentChannelContainer.Clear(false);
|
||||||
currentChannelContainer.Add(loadedChannels[newChannel]);
|
currentChannelContainer.Add(loadedChannel);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user