From 136c62bf776b69cfbaa2152f066336d4368bfafd Mon Sep 17 00:00:00 2001 From: Kasey FItton Date: Tue, 15 Oct 2024 15:39:36 +0100 Subject: [PATCH] twek(es_extended/config): account for txadminLocale being custom --- [core]/es_extended/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index a451a42d..ffabbecb 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -3,7 +3,7 @@ Config = {} local txAdminLocale = GetConvar("txAdmin-locale", "en") local esxLocale = GetConvar("esx:locale", "none") -Config.Locale = esxLocale == "none" and txAdminLocale or esxLocale +Config.Locale = (esxLocale == "none" and txAdminLocale ~= "custom") and txAdminLocale or esxLocale Config.OxInventory = GetResourceState("ox_inventory") ~= 'missing'