mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 05:20:49 +00:00
player: fix typo in energy ticker
This commit is contained in:
+1
-1
@@ -330,7 +330,7 @@ pfUI:RegisterModule("player", function ()
|
|||||||
|
|
||||||
local value = pfUI.api.round((GetTime() - this.lastTick) * 100)
|
local value = pfUI.api.round((GetTime() - this.lastTick) * 100)
|
||||||
local pos = pfUI_config.unitframes.player.width / 200 * value
|
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)
|
this.spark:SetPoint("LEFT", pos-((pfUI_config.unitframes.player.pheight+5)/2), 0)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user