|
|
@ -14,6 +14,15 @@ if CLIENT then |
|
|
|
function Quantum.Client.Load() |
|
|
|
function Quantum.Client.Load() |
|
|
|
local fol = GM.FolderName .. "/gamemode/core/" |
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quantum.Shared.Init() |
|
|
|
|
|
|
|
|
|
|
|
-- CLient files |
|
|
|
-- CLient files |
|
|
|
local clFiles = file.Find( fol .. "/client/cl_*.lua", "LUA" ) |
|
|
|
local clFiles = file.Find( fol .. "/client/cl_*.lua", "LUA" ) |
|
|
|
for _, file in pairs( clFiles ) do |
|
|
|
for _, file in pairs( clFiles ) do |
|
|
|