diff --git a/gamemode/cl_init.lua b/gamemode/cl_init.lua index 58d23d0..b6641e5 100644 --- a/gamemode/cl_init.lua +++ b/gamemode/cl_init.lua @@ -14,12 +14,6 @@ if CLIENT then function Quantum.Client.Load() local fol = GM.FolderName .. "/gamemode/core/" - -- Shared files - local shFiles = file.Find( fol .. "/sh_*.lua", "LUA" ) - for _, file in pairs( shFiles ) do - include( fol .. file ) - end - -- CLient files local clFiles = file.Find( fol .. "/client/cl_*.lua", "LUA" ) for _, file in pairs( clFiles ) do diff --git a/gamemode/init.lua b/gamemode/init.lua index 02c46d5..1a86d27 100644 --- a/gamemode/init.lua +++ b/gamemode/init.lua @@ -22,7 +22,6 @@ if SERVER then local shFiles = file.Find( fol .. "/sh_*.lua", "LUA" ) for _, file in pairs( shFiles ) do AddCSLuaFile( fol .. file ) - include( fol .. file ) end -- CLient files diff --git a/gamemode/shared.lua b/gamemode/shared.lua index bf290ad..78a57d9 100644 --- a/gamemode/shared.lua +++ b/gamemode/shared.lua @@ -10,4 +10,14 @@ GM.Author = "AlmTech" GM.Email = "elias@almtech.se" GM.Website = "N/A" -Quantum = {} \ No newline at end of file +Quantum = {} + +Quantum.Shared = {} +Quantum.Shared.Init = function() + local shFiles = file.Find( fol .. "/sh_*.lua", "LUA" ) + for _, file in pairs( shFiles ) do + include( fol .. file ) + end +end + +Quantum.Shared.Init() \ No newline at end of file diff --git a/quantum.txt b/quantum.txt index afc2027..c5a6603 100644 --- a/quantum.txt +++ b/quantum.txt @@ -1,7 +1,7 @@ "quantum" { "base" "base" - "title" "DarkRP" + "title" "Quantum Framework" "maps" "^rp_" "menusystem" "1" } \ No newline at end of file