Fix IDE0057
This commit is contained in:
committed by
Pavel Penev
parent
5254348819
commit
023d80b94d
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user