From 453a6abbfc575308238d87ab1b36ca176badeb2f Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Thu, 21 Sep 2023 18:43:32 +0500 Subject: [PATCH] maybe this fixes something, dunno --- beatrun/gamemodes/beatrun/gamemode/init.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/init.lua b/beatrun/gamemodes/beatrun/gamemode/init.lua index 6c71ede..e0b44c2 100644 --- a/beatrun/gamemodes/beatrun/gamemode/init.lua +++ b/beatrun/gamemodes/beatrun/gamemode/init.lua @@ -2,20 +2,20 @@ AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") 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/sh/*.lua", "GAME")) do + print(v) + + AddCSLuaFile("sh/" .. v) + 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/sh/*.lua", "GAME", "nameasc")) do - print(v) - - include("sh/" .. v) - AddCSLuaFile("sh/" .. v) -end - -for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sv/*.lua", "GAME", "nameasc")) do +for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sv/*.lua", "GAME")) do print(v) include("sv/" .. v)