player: always refresh power bar

This commit is contained in:
shagu
2017-02-26 18:28:26 +01:00
parent 5b4a92e72a
commit 92de8f792f
+2
View File
@@ -197,6 +197,8 @@ pfUI:RegisterModule("player", function ()
pfUI.uf.player.power.bar:SetValue(powerDisplay + ceil(powerDiff / pfUI_config.unitframes.animation_speed))
elseif powerDisplay > powerReal then
pfUI.uf.player.power.bar:SetValue(powerDisplay - ceil(powerDiff / pfUI_config.unitframes.animation_speed))
else
pfUI.uf.player.power.bar:SetValue(powerReal)
end
end)