Update main.lua
This commit is contained in:
parent
e42f1f006b
commit
fc8a4f4587
2
main.lua
2
main.lua
|
@ -42,6 +42,7 @@ function Main:Init()
|
||||||
o.playerServerId = GetPlayerServerId(o.playerId)
|
o.playerServerId = GetPlayerServerId(o.playerId)
|
||||||
o:Thread1()
|
o:Thread1()
|
||||||
else
|
else
|
||||||
|
if Config.ClientLazyLoad then
|
||||||
o.ClientImpls = {}
|
o.ClientImpls = {}
|
||||||
for k, v in pairs(Config.EnableModules) do
|
for k, v in pairs(Config.EnableModules) do
|
||||||
if v then
|
if v then
|
||||||
|
@ -60,6 +61,7 @@ function Main:Init()
|
||||||
return o.ClientImpls[implName]
|
return o.ClientImpls[implName]
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
o:Exports()
|
o:Exports()
|
||||||
o:RegisterCommands()
|
o:RegisterCommands()
|
||||||
o:RegisterEvents()
|
o:RegisterEvents()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user