From 629cbcb05eb2329dd57c8a1f7735a0317a7baf78 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Thu, 21 Sep 2023 20:54:56 +0500 Subject: [PATCH] :shrug: --- beatrun/gamemodes/beatrun/gamemode/cl_init.lua | 2 +- beatrun/gamemodes/beatrun/gamemode/init.lua | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/cl_init.lua b/beatrun/gamemodes/beatrun/gamemode/cl_init.lua index de48afe..7b719c4 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl_init.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl_init.lua @@ -1,5 +1,5 @@ include("shared.lua") -for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/cl/*.lua", "GAME", "nameasc")) do +for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/cl/*.lua", "GAME")) do include("cl/" .. v) end \ No newline at end of file diff --git a/beatrun/gamemodes/beatrun/gamemode/init.lua b/beatrun/gamemodes/beatrun/gamemode/init.lua index e0b44c2..236b127 100644 --- a/beatrun/gamemodes/beatrun/gamemode/init.lua +++ b/beatrun/gamemodes/beatrun/gamemode/init.lua @@ -2,6 +2,12 @@ AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") +for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/cl/*.lua", "GAME")) do + print(v) + + AddCSLuaFile("cl/" .. v) +end + for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sh/*.lua", "GAME")) do print(v) @@ -9,12 +15,6 @@ for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sh/*.lua", "GAME")) do include("sh/" .. v) end -for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/cl/*.lua", "GAME")) do - print(v) - - AddCSLuaFile("cl/" .. v) -end - for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sv/*.lua", "GAME")) do print(v)