mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 03:01:31 +00:00
twek(es_extended/config): account for txadminLocale being custom
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user