Tweaks to the state and visibility configuration

This commit is contained in:
Hendrik Leppkes
2008-11-01 17:08:08 +01:00
parent 29f204b662
commit 170a11c975
3 changed files with 35 additions and 16 deletions
+4 -4
View File
@@ -71,14 +71,14 @@ function ActionBar:UpdateStates(returnOnly)
if returnOnly or not self:GetStateOption("customEnabled") then
statedriver = {}
if self:GetStateOption("possess") then
table_insert(statedriver, "[bonusbar:5]11")
end
local stateconfig = self.config.states
if self:GetStateOption("enabled") then
-- arguments will be parsed from left to right, so we have a priority here
if self:GetStateOption("possess") then
table_insert(statedriver, "[bonusbar:5]11")
end
-- highest priority have our temporary quick-swap keys
for _,v in pairs(modifiers) do
local page = self:GetStateOption(v)