Track LocalMods as part of monolith

This commit is contained in:
2026-06-08 18:50:16 +03:00
parent 143f2fed7c
commit 1b214b44c2
1287 changed files with 139255 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
local SRC_NAMESPACE = "ConsentRequiredExtended."
local MAIN = "Main"
local LUA_EVENT_LOADED = "loaded"
local HOOK_NAME_ON_LOADED = "ConsentRequiredExtended.onLoaded"
if Game.IsMultiplayer and CLIENT then return end
local function onLoaded()
-- Only run client side if not multiplayer
---@diagnostic disable-next-line: undefined-global
-- if Game.IsMultiplayer and CLIENT then return end
local requireStr = SRC_NAMESPACE .. MAIN
require(requireStr)
end
Hook.Add(LUA_EVENT_LOADED, HOOK_NAME_ON_LOADED, onLoaded)