diff --git a/Forms/FormMain.cs b/Forms/FormMain.cs index e0ae59a..ffaba41 100644 --- a/Forms/FormMain.cs +++ b/Forms/FormMain.cs @@ -787,8 +787,6 @@ internal async Task HttpUploadLogAsync(string file, Dictionary p return; } var response = await responseMessage.Content.ReadAsStringAsync(); - // workaround for deserialisation and consequent application crash if the player list is an empty array, in case the log being corrupted - response = response?.Replace("\"players\": []", "\"players\": {}"); try { var reportJson = JsonConvert.DeserializeObject(response);