From daa0dff7459b5a7939624c1355d7044730dc7d0d Mon Sep 17 00:00:00 2001 From: Infus Date: Sat, 4 Jan 2025 19:09:42 +0100 Subject: [PATCH] Stop Motion: Properly fix GetColor function We need to return the unanimated values Fixes: #5602 --- WeakAuras/RegionTypes/StopMotion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeakAuras/RegionTypes/StopMotion.lua b/WeakAuras/RegionTypes/StopMotion.lua index e004ca5007..2ee19b128f 100644 --- a/WeakAuras/RegionTypes/StopMotion.lua +++ b/WeakAuras/RegionTypes/StopMotion.lua @@ -262,7 +262,7 @@ local function modify(parent, region, data) --- @class StopMotionRegion --- @field GetColor fun(self: StopMotionRegion): number, number, number, number function region:GetColor() - return self.foreground:GetColor() + return region.color_r, region.color_g, region.color_b, region.color_a end --- @class StopMotionRegion