mirror of
https://github.com/JuniorDark/RustyHearts-Launcher.git
synced 2026-05-07 05:21:44 -04:00
small fix
This commit is contained in:
parent
f74d94825d
commit
7917f223e1
1 changed files with 1 additions and 5 deletions
|
|
@ -282,7 +282,7 @@ namespace RHLauncher
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using HttpClient client = new();
|
using HttpClient client = new();
|
||||||
HttpResponseMessage response = await client.GetAsync(Configuration.Default.GateStatusUrl);
|
using HttpResponseMessage response = await client.GetAsync(Configuration.Default.GateStatusUrl);
|
||||||
response.EnsureSuccessStatusCode();
|
response.EnsureSuccessStatusCode();
|
||||||
string json = await response.Content.ReadAsStringAsync();
|
string json = await response.Content.ReadAsStringAsync();
|
||||||
dynamic result = JsonConvert.DeserializeObject(json);
|
dynamic result = JsonConvert.DeserializeObject(json);
|
||||||
|
|
@ -555,10 +555,6 @@ namespace RHLauncher
|
||||||
HandleException(ex);
|
HandleException(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (result == DialogResult.No)
|
|
||||||
{
|
|
||||||
DialogResult = DialogResult.Cancel;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue