From 1bfc5dd27c756417596203d3d6d7dcd941984822 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 3 Feb 2017 19:04:38 +0100 Subject: [PATCH] castbar: round max value on delay --- modules/castbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/castbar.lua b/modules/castbar.lua index b312d266..40878ec1 100644 --- a/modules/castbar.lua +++ b/modules/castbar.lua @@ -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