CombineMiniButtons - fix not hooking on combat login.
This commit is contained in:
+4
-9
@@ -4784,9 +4784,10 @@
|
||||
local maxButtonsPerColumn = 5 -- maximum number of buttons per column
|
||||
local maxColumns = 3 -- maximum number of columns
|
||||
|
||||
if InCombatLockdown() then
|
||||
return -- Stop execution if player is in combat.
|
||||
end
|
||||
-- not sure why i added it.
|
||||
--if InCombatLockdown() then
|
||||
-- return -- Stop execution if player is in combat.
|
||||
--end
|
||||
|
||||
local excludedPatterns = {}
|
||||
for pattern in string.gmatch(LeaPlusDB["MiniExcludeList"], "[^,]+") do
|
||||
@@ -5699,12 +5700,6 @@
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- This function shows the minimap buttons by setting their alpha to 1.
|
||||
local function ShowMinimapButtons()
|
||||
for name, button in pairs(minimapButtons) do
|
||||
|
||||
Reference in New Issue
Block a user