Quantcast

Use modf return mod time

yaroot [10-11-11 - 07:57]
Use modf return mod time
Filename
oUF_RaidDebuffs.lua
diff --git a/oUF_RaidDebuffs.lua b/oUF_RaidDebuffs.lua
index 7611b7c..5081514 100644
--- a/oUF_RaidDebuffs.lua
+++ b/oUF_RaidDebuffs.lua
@@ -149,7 +149,7 @@ local formatTime = function(s)
     if s > 60 then
         return format('%dm', s/60), s%60
     else
-        return format('%d', s), s - floor(s)
+        return math.modf(s)
     end
 end