Fix IDE0057

This commit is contained in:
RoosterDragon
2023-04-05 19:12:33 +01:00
committed by Pavel Penev
parent 5254348819
commit 023d80b94d
42 changed files with 104 additions and 104 deletions

View File

@@ -35,8 +35,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
}
else
{
ipField.Text = text.Substring(0, last);
portField.Text = text.Substring(last + 1);
ipField.Text = text[..last];
portField.Text = text[(last + 1)..];
}
var joinButton = panel.Get<ButtonWidget>("JOIN_BUTTON");