diff --git a/UnionPatcher.Gui/Forms/RemotePatchForm.cs b/UnionPatcher.Gui/Forms/RemotePatchForm.cs index 16301d6..7354ea9 100644 --- a/UnionPatcher.Gui/Forms/RemotePatchForm.cs +++ b/UnionPatcher.Gui/Forms/RemotePatchForm.cs @@ -73,15 +73,7 @@ public class RemotePatchForm : Form return; } - // Purely for the dialog box to show the correct URL. Actual patcher has this too. - // If server URL contains a trailing slash, loop until it's gone. - string formattedUrl = this.serverUrl.Text; - while (formattedUrl.EndsWith('/')) - { - formattedUrl = formattedUrl.Remove(formattedUrl.Length - 1); - } - - Gui.CreateOkDialog("Success!", $"The Server URL for {this.lbpGameID.Text} on the PS3 at {this.ps3LocalIP.Text} has been patched to {formattedUrl}"); + Gui.CreateOkDialog("Success!", $"The Server URL for {this.lbpGameID.Text} on the PS3 at {this.ps3LocalIP.Text} has been patched to {this.serverUrl.Text}"); }; return control;