From d077156c885e4f6dbd2a592ef8f10b477f3642ce Mon Sep 17 00:00:00 2001 From: Kasey FItton Date: Tue, 15 Oct 2024 15:40:58 +0100 Subject: [PATCH] tweak(es_extended/config): default to english --- [core]/es_extended/config.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index ffabbecb..a2a2e310 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -3,7 +3,11 @@ Config = {} local txAdminLocale = GetConvar("txAdmin-locale", "en") local esxLocale = GetConvar("esx:locale", "none") -Config.Locale = (esxLocale == "none" and txAdminLocale ~= "custom") and txAdminLocale or esxLocale +if esxLocale == "none" then + Config.Locale = txAdminLocale ~= "custom" and txAdminLocale or "en" +else + Config.Locale = esxLocale +end Config.OxInventory = GetResourceState("ox_inventory") ~= 'missing'