1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Fix stupid idiot things

This commit is contained in:
RaidMax
2021-05-15 09:20:49 -05:00
parent 2978db8cd8
commit 9c5f723bca
2 changed files with 13 additions and 11 deletions

View File

@ -41,7 +41,7 @@ namespace IW4MAdmin.Application.Misc
if (value is object[] array && array.All(item => item is double d && AsInteger(d) != null))
{
castValue = array.Select(item => (int) item).ToArray();
castValue = array.Select(item => AsInteger((double)item)).ToArray();
}
if (!_config.ContainsKey(_pluginName))