This commit is contained in:
Jonny_Bro (Nikita) 2023-09-21 20:54:56 +05:00
parent d472a8e519
commit 629cbcb05e
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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)