Fix IDE0033

This commit is contained in:
RoosterDragon
2023-02-19 11:20:19 +00:00
committed by Pavel Penev
parent 99c1a4448b
commit 10def52ad9
3 changed files with 12 additions and 9 deletions

View File

@@ -323,7 +323,7 @@ namespace OpenRA.Mods.Common.Widgets
var nameFont = Game.Renderer.Fonts[label.Font];
var name = new CachedTransform<(string Name, WinState WinState, Session.ClientState ClientState), string>(c =>
{
var suffix = c.WinState == WinState.Undefined ? "" : " (" + c.Item2 + ")";
var suffix = c.WinState == WinState.Undefined ? "" : " (" + c.WinState + ")";
if (c.ClientState == Session.ClientState.Disconnected)
suffix = " (Gone)";