mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 19:19:59 +00:00
player: fix non refreshing healthbar
This commit is contained in:
@@ -141,6 +141,8 @@ pfUI:RegisterModule("player", function ()
|
||||
pfUI.uf.player.hp.bar:SetValue(hpDisplay + ceil(hpDiff / pfUI_config.unitframes.animation_speed))
|
||||
elseif hpDisplay > hpReal then
|
||||
pfUI.uf.player.hp.bar:SetValue(hpDisplay - ceil(hpDiff / pfUI_config.unitframes.animation_speed))
|
||||
elseif hpDisplay ~= hpReal then
|
||||
pfUI.uf.player.hp.bar:SetValue(hpReal)
|
||||
end
|
||||
|
||||
local powerDisplay = pfUI.uf.player.power.bar:GetValue()
|
||||
|
||||
Reference in New Issue
Block a user