mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-04-23 21:15:18 +00:00
Update UnionPatcher.Gui/Forms/RemotePatchForm.cs
Co-authored-by: Josh <josh@slendy.pw>
This commit is contained in:
parent
3b309103cd
commit
45f556a2fa
1 changed files with 1 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue