updated portuguese translation
fixed issue with locale when no config present changed kick color on webfront aliased owner to iamgod (for b3 familiar users) hopefully fixed stats issue added T5M (V2 BO2) support made dvar grab at beginning minimal to prevent throttling on older CODS
This commit is contained in:
@ -11,8 +11,8 @@ namespace IW4MAdmin.Application.Localization
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
string currentLocale = Program.ServerManager.GetApplicationSettings().Configuration().CustomLocale ??
|
||||
CultureInfo.CurrentCulture.Name?.Substring(0, 2);
|
||||
string currentLocale = Program.ServerManager.GetApplicationSettings().Configuration()?.CustomLocale ??
|
||||
CultureInfo.CurrentCulture?.Name?.Substring(0, 2);
|
||||
|
||||
if (currentLocale == null)
|
||||
throw new Exception("Computer CurrentCulture does not exist");
|
||||
|
Reference in New Issue
Block a user