1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

fix issue with CS:GO connector

This commit is contained in:
RaidMax
2023-06-11 17:30:06 -05:00
parent 80a7676766
commit 039e37be1f
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ namespace Integrations.Source
}
var split = response.TrimEnd('\n').Split('\n');
return split.Take(split.Length - 1).ToArray();
return split.Take(Math.Max(1, split.Length - 1)).ToArray();
}
catch (TaskCanceledException)