twek(es_extended/config): account for txadminLocale being custom

This commit is contained in:
Kasey FItton
2024-10-15 15:39:36 +01:00
parent 782ea91995
commit 136c62bf77
+1 -1
View File
@@ -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'