castbar: round max value on delay

This commit is contained in:
shagu
2017-02-03 19:04:38 +01:00
parent 879cba9034
commit 1bfc5dd27c
+1 -1
View File
@@ -174,7 +174,7 @@ pfUI:RegisterModule("castbar", function ()
if delay > 0 then
delay = "|cffffaaaa+" .. pfUI.api.round(delay,1) .. " |r "
pfUI.castbar.player.bar.right:SetText(delay .. pfUI.api.round(cur,1) .. " / " .. max)
pfUI.castbar.player.bar.right:SetText(delay .. pfUI.api.round(cur,1) .. " / " .. pfUI.api.round(max,1))
else
pfUI.castbar.player.bar.right:SetText(pfUI.api.round(cur,1) .. " / " .. pfUI.api.round(max,1))
end