Fix IDE0083
This commit is contained in:
committed by
Pavel Penev
parent
bd2b3d9793
commit
164abfdae1
@@ -276,7 +276,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
games[games.IndexOf(oldPath)] = newPath;
|
||||
foreach (var c in gameList.Children)
|
||||
{
|
||||
if (!(c is ScrollItemWidget item) || item.ItemKey != oldPath)
|
||||
if (c is not ScrollItemWidget item || item.ItemKey != oldPath)
|
||||
continue;
|
||||
|
||||
item.ItemKey = newPath;
|
||||
|
||||
Reference in New Issue
Block a user