Update main.lua

This commit is contained in:
Lorraxs 2024-03-28 23:44:07 +07:00
parent e42f1f006b
commit fc8a4f4587

View File

@ -42,6 +42,7 @@ function Main:Init()
o.playerServerId = GetPlayerServerId(o.playerId)
o:Thread1()
else
if Config.ClientLazyLoad then
o.ClientImpls = {}
for k, v in pairs(Config.EnableModules) do
if v then
@ -60,6 +61,7 @@ function Main:Init()
return o.ClientImpls[implName]
end)
end
end
o:Exports()
o:RegisterCommands()
o:RegisterEvents()