From e9b714e7078e6a432b37b1f5dc840823318b62f8 Mon Sep 17 00:00:00 2001 From: Infus Date: Wed, 20 Mar 2024 12:59:31 +0100 Subject: [PATCH] ProgressTexture: Fix switching from timed to static progress --- WeakAuras/RegionTypes/ProgressTexture.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/WeakAuras/RegionTypes/ProgressTexture.lua b/WeakAuras/RegionTypes/ProgressTexture.lua index dd852d4f4f..e157cbb90f 100644 --- a/WeakAuras/RegionTypes/ProgressTexture.lua +++ b/WeakAuras/RegionTypes/ProgressTexture.lua @@ -1346,6 +1346,11 @@ local function modify(parent, region, data) region:SetValueOnTexture(progress); region:ReapplyAdditionalProgress() end + + if self.FrameTick then + self.FrameTick = nil + self.subRegionEvents:RemoveSubscriber("FrameTick", region) + end end if region.useSmoothProgress then