update DebugTools

This commit is contained in:
Pinya
2018-02-15 21:20:45 +03:00
parent 74011a85c2
commit d6877724ea
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
-- Cache global variables
local mod = math.mod
local pairs = pairs
local tostring = tostring
local fmod = math.fmod
local format, match = string.format, string.match
local getn, setn, tinsert, tsort, twipe = table.getn, table.setn, table.insert, table.sort, table.wipe
-- WoW API
@@ -174,7 +174,7 @@ function UpdateFrameStack(tooltip, showHidden)
end
if l ~= ol then
cs = mod(cs, cn) + 1
cs = fmod(cs, cn) + 1
ol = l
end