From 1755c3ea8fab108c4e831c7fcf09fba847185893 Mon Sep 17 00:00:00 2001 From: Antonio Lobato Date: Fri, 28 Oct 2022 13:27:21 -0700 Subject: [PATCH] Fixed a bug with bank bags and cooldowns. (#739) --- widgets/ItemButton.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widgets/ItemButton.lua b/widgets/ItemButton.lua index d8f19daa..c95b9078 100644 --- a/widgets/ItemButton.lua +++ b/widgets/ItemButton.lua @@ -322,7 +322,9 @@ function buttonProto:Update() end self:UpdateCount() self:UpdateBorder() - self:UpdateCooldown(self.texture) + if self.UpdateCooldown then + self:UpdateCooldown(self.texture) + end self:UpdateLock() self:UpdateNew() if addon.isRetail then