From 5e225c578233df0e1470443cfa59a0ea10532b08 Mon Sep 17 00:00:00 2001 From: Kasey FItton Date: Fri, 8 Nov 2024 05:56:29 +0000 Subject: [PATCH] refactor(es_extended/config): rename config.lua to main.lua --- [core]/es_extended/fxmanifest.lua | 2 +- [core]/es_extended/shared/config/{config.lua => main.lua} | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename [core]/es_extended/shared/config/{config.lua => main.lua} (96%) diff --git a/[core]/es_extended/fxmanifest.lua b/[core]/es_extended/fxmanifest.lua index 40cdf646..5c555c78 100644 --- a/[core]/es_extended/fxmanifest.lua +++ b/[core]/es_extended/fxmanifest.lua @@ -9,7 +9,7 @@ shared_scripts { 'locale.lua', 'locales/*.lua', - 'shared/config/config.lua', + 'shared/config/main.lua', 'shared/config/weapons.lua', 'shared/config/adjustments.lua', diff --git a/[core]/es_extended/shared/config/config.lua b/[core]/es_extended/shared/config/main.lua similarity index 96% rename from [core]/es_extended/shared/config/config.lua rename to [core]/es_extended/shared/config/main.lua index 94020196..31de8b5a 100644 --- a/[core]/es_extended/shared/config/config.lua +++ b/[core]/es_extended/shared/config/main.lua @@ -56,3 +56,6 @@ Config.AdminLogging = false -- Logs the usage of certain commands by those with -- Do NOT change the following unless you know what you are doing Config.EnableDefaultInventory = not Config.CustomInventory -- Display the default Inventory ( F2 ) +if GetResourceState("ox_inventory") ~= "missing" then + Config.CustomInventory = "ox" +end