Skip to content

Commit

Permalink
altpowerbar: Use correct UnitAlternatePowerInfo() returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- committed Jul 29, 2015
1 parent 99a642a commit a2fa7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/altpowerbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ local UpdatePower = function(self, event, unit, powerType)
local cur = UnitPower(unit, ALTERNATE_POWER_INDEX)
local max = UnitPowerMax(unit, ALTERNATE_POWER_INDEX)

local barType, min, _, _, _, _, _, _, _, powerName, powerTooltip = UnitAlternatePowerInfo(unit)
local barType, min, _, _, _, _, _, _, _, _, powerName, powerTooltip = UnitAlternatePowerInfo(unit)
altpowerbar.barType = barType
altpowerbar.powerName = powerName
altpowerbar.powerTooltip = powerTooltip
Expand Down

0 comments on commit a2fa7d7

Please sign in to comment.