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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user