from retail

This commit is contained in:
NoM0Re
2025-01-11 17:15:56 +01:00
parent 96c5618c6b
commit 1b50569bcc
10 changed files with 147 additions and 122 deletions
+5
View File
@@ -226,6 +226,11 @@ local function modify(parent, region, data)
region.Update = Update
region.FrameTick = FrameTick
region.TimerTick = TimerTick
if TimerTick then
region.subRegionEvents:AddSubscriber("TimerTick", region, true)
else
region.subRegionEvents:RemoveSubscriber("TimerTick", region)
end
if not UpdateText then
local textStr = data.displayText