From 14529fac2856f01d69d529466287ccd4dd4195d0 Mon Sep 17 00:00:00 2001 From: vanishdevs <22zVanish@gmail.com> Date: Wed, 18 Sep 2024 19:19:00 -0400 Subject: [PATCH] refactor(client): Replace / with . for consistency when stating directories, loading the config --- client/cl_antitheft.lua | 2 +- client/cl_blips.lua | 2 +- client/cl_discord.lua | 2 +- client/cl_idle.lua | 2 +- client/cl_toggleid.lua | 2 +- client/main.lua | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/cl_antitheft.lua b/client/cl_antitheft.lua index 3d1e89d..329d772 100644 --- a/client/cl_antitheft.lua +++ b/client/cl_antitheft.lua @@ -1,4 +1,4 @@ -local Config = lib.load('shared/sh_antitheft') +local Config = lib.load('shared.sh_antitheft') local notificationShown = false diff --git a/client/cl_blips.lua b/client/cl_blips.lua index 6e8a9a6..6443f65 100644 --- a/client/cl_blips.lua +++ b/client/cl_blips.lua @@ -1,4 +1,4 @@ -local Config = lib.load('shared/sh_blips') +local Config = lib.load('shared.sh_blips') ---@param EnableBlips (boolean) Enable or disable the custom blips local function createCustomBlips(EnableBlips, BlipsTable) diff --git a/client/cl_discord.lua b/client/cl_discord.lua index 62527a4..ec43b2b 100644 --- a/client/cl_discord.lua +++ b/client/cl_discord.lua @@ -1,4 +1,4 @@ -local Config = lib.load('shared/sh_discord') +local Config = lib.load('shared.sh_discord') ---@param EnableDiscordStatus (boolean) Enable or disable the discord status local function DiscordStatus(EnableDiscordStatus) diff --git a/client/cl_idle.lua b/client/cl_idle.lua index 44028be..7ba352d 100644 --- a/client/cl_idle.lua +++ b/client/cl_idle.lua @@ -1,4 +1,4 @@ -local Config = lib.load('shared/sh_idle') +local Config = lib.load('shared.sh_idle') local isIdlePlaying = false local lastActionTime = 0 diff --git a/client/cl_toggleid.lua b/client/cl_toggleid.lua index 4ffe0de..26e7279 100644 --- a/client/cl_toggleid.lua +++ b/client/cl_toggleid.lua @@ -1,4 +1,4 @@ -local Config = lib.load('shared/sh_toggleid') +local Config = lib.load('shared.sh_toggleid') local showID = false ---@return (table) The nearest players diff --git a/client/main.lua b/client/main.lua index 7860a8f..27f47dd 100644 --- a/client/main.lua +++ b/client/main.lua @@ -1,4 +1,4 @@ -local Config = lib.load('shared/sh_main') +local Config = lib.load('shared.sh_main') local function performBasics() local playerPed = cache.ped