From bf8f0712a02a503034c0e62952c51acc5d0a56cb Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Thu, 22 Jun 2023 11:51:25 +0500 Subject: [PATCH] clearing --- beatrun/gamemodes/beatrun/gamemode/cl_init.lua | 6 ++---- beatrun/gamemodes/beatrun/gamemode/init.lua | 6 +++--- beatrun/gamemodes/beatrun/gamemode/shared.lua | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/cl_init.lua b/beatrun/gamemodes/beatrun/gamemode/cl_init.lua index 9c3fb36..de48afe 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl_init.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl_init.lua @@ -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 - - +end \ No newline at end of file diff --git a/beatrun/gamemodes/beatrun/gamemode/init.lua b/beatrun/gamemodes/beatrun/gamemode/init.lua index 4ad9a5c..5030e87 100644 --- a/beatrun/gamemodes/beatrun/gamemode/init.lua +++ b/beatrun/gamemodes/beatrun/gamemode/init.lua @@ -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 \ No newline at end of file diff --git a/beatrun/gamemodes/beatrun/gamemode/shared.lua b/beatrun/gamemodes/beatrun/gamemode/shared.lua index 4a0469c..85b9e6c 100644 --- a/beatrun/gamemodes/beatrun/gamemode/shared.lua +++ b/beatrun/gamemodes/beatrun/gamemode/shared.lua @@ -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 \ No newline at end of file