This commit is contained in:
Jonny_Bro (Nikita) 2023-06-22 11:51:25 +05:00
parent b679623a5b
commit bf8f0712a0
3 changed files with 6 additions and 8 deletions

View file

@ -1,7 +1,5 @@
include("shared.lua")
for k, 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", "nameasc")) do
include("cl/" .. v)
end

View file

@ -2,18 +2,18 @@ AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
for k, 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", "nameasc")) do
print(v)
AddCSLuaFile("cl/" .. v)
end
for k, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sh/*.lua", "GAME", "nameasc")) do
for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sh/*.lua", "GAME", "nameasc")) do
print(v)
include("sh/" .. v)
AddCSLuaFile("sh/" .. v)
end
for k, 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", "nameasc")) do
print(v)
include("sv/" .. v)
end

View file

@ -8,7 +8,7 @@ GM.Email = "datae@dontemailme.com"
GM.Website = "www.mirrorsedge.com"
include("player_class/player_beatrun.lua")
for k, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sh/*.lua", "GAME", "nameasc")) do
for _, v in ipairs(file.Find("gamemodes/beatrun/gamemode/sh/*.lua", "GAME", "nameasc")) do
AddCSLuaFile("sh/" .. v)
include("sh/" .. v)
end