From dd6085af972d50ab01cc21c3ed693790b487e1b2 Mon Sep 17 00:00:00 2001 From: CWX Date: Fri, 2 May 2025 20:36:27 +0100 Subject: [PATCH] thanks lacy --- Libraries/SPTarkov.Server.Core/Services/LocaleService.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/LocaleService.cs b/Libraries/SPTarkov.Server.Core/Services/LocaleService.cs index 8caa85d3..bcaeb61d 100644 --- a/Libraries/SPTarkov.Server.Core/Services/LocaleService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/LocaleService.cs @@ -244,10 +244,7 @@ public class LocaleService( public void RemoveCustomClientLocale(string locale, string localeKey) { - if (customClientLocales.TryGetValue(locale, out var localeDict)) - { - localeDict.Remove(localeKey); - } + customClientLocales.Remove(localeKey); } private void AddToDictionary(string locale, string localeKey, string localeValue,