mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32: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:
commit
179db09075
@ -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