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

Additional zombie stast work

This commit is contained in:
RaidMax
2024-02-11 22:10:12 -06:00
parent 122b6dc79d
commit e1461582fa
45 changed files with 7663 additions and 292 deletions

View File

@ -15,11 +15,11 @@ namespace SharedLibraryCore.Configuration
if (!ContainsKey(game.Value))
{
return key.Transform(To.TitleCase);
return key;
}
var strings = this[game.Value];
return !strings.ContainsKey(key) ? key.Transform(To.TitleCase) : strings[key];
return !strings.TryGetValue(key, out var value) ? key : value;
}
}
}
}