Add updateinterval config to network

This commit is contained in:
2025-01-15 12:56:56 +01:00
parent 241615238c
commit 8cbad47acc
4 changed files with 24 additions and 0 deletions

View File

@@ -6,5 +6,10 @@ local ModuleName = "Network"
---@diagnostic disable-next-line: missing-fields
shared.Network = {}
function shared.Network.Init()
local networkFrame = CreateFrame("Frame")
networkFrame:SetScript("OnUpdate", function(self, elapsed)
if not Heimdall_Data.config.network.enabled then return end
end)
print("[Heimdall] Network module loaded")
end