More work modifying client stuff

This commit is contained in:
RaidMax
2018-11-07 20:30:11 -06:00
parent ed83c4c011
commit 9bdd7d1b8a
14 changed files with 255 additions and 307 deletions

View File

@ -106,11 +106,17 @@ namespace SharedLibraryCore.RCon
try
{
response = await SendPayloadAsync(payload, waitForResponse);
if (response.Length == 0)
{
throw new Exception();
}
connectionState.OnComplete.Release(1);
connectionState.ConnectionAttempts = 0;
}
catch/* (Exception ex)*/
catch
{
if (connectionState.ConnectionAttempts < StaticHelpers.AllowedConnectionFails)
{