whoops, don't execute mods if using client-side lua

This commit is contained in:
Evil Factory
2021-12-13 18:04:06 -03:00
parent 3b1cb7a265
commit 72f770d83b

View File

@@ -21,6 +21,11 @@ require("DefaultHook")
-- Execute Mods
if CLIENT then
print("LUA LOADER: Client detected, disabling mod loading because it's incomplete.")
return
end
if SERVER and Game.IsDedicated then
runDisabledMods = true