From 9eb185fd4bb92b55addccdf2e8eaad851197e043 Mon Sep 17 00:00:00 2001 From: Zidras <10605951+Zidras@users.noreply.github.com> Date: Wed, 18 May 2022 20:16:30 +0100 Subject: [PATCH] DBM: account for new table on 9.2.14 core (DBM.Bars => DBT) Related to this branch: https://github.com/Zidras/DBM-Warmane/tree/9.2-Core+GUI --- WeakAuras/GenericTrigger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeakAuras/GenericTrigger.lua b/WeakAuras/GenericTrigger.lua index 3d31ec2..4fef0af 100644 --- a/WeakAuras/GenericTrigger.lua +++ b/WeakAuras/GenericTrigger.lua @@ -2578,7 +2578,7 @@ do bar.count = msg:match("(%d+)") or "0" bar.dbmType = dbmType - local barOptions = DBM.Bars.options + local barOptions = DBM.ReleaseRevision >= 20220412000000 and DBT.Options or DBM.Bars.options local r, g, b = 0, 0, 0 if dbmType == 1 then r, g, b = barOptions.StartColorAR, barOptions.StartColorAG, barOptions.StartColorAB