player: fix typo in energy ticker

This commit is contained in:
shagu
2017-01-06 14:49:16 +01:00
parent 562bf1b809
commit 18fca002ae
+1 -1
View File
@@ -330,7 +330,7 @@ pfUI:RegisterModule("player", function ()
local value = pfUI.api.round((GetTime() - this.lastTick) * 100)
local pos = pfUI_config.unitframes.player.width / 200 * value
if not pfUI_config.unitframes.player.pheigh then return end
if not pfUI_config.unitframes.player.pheight then return end
this.spark:SetPoint("LEFT", pos-((pfUI_config.unitframes.player.pheight+5)/2), 0)
end)
end