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
This commit is contained in:
Zidras
2022-05-18 20:16:30 +01:00
committed by Bunny67
parent 5b388e15f9
commit 9eb185fd4b
+1 -1
View File
@@ -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