helpers: make hooksecurefunc append by default
This commit is contained in:
@@ -2,7 +2,6 @@ local _G = ShaguTweaks.GetGlobalEnv()
|
||||
local T = ShaguTweaks.T
|
||||
local gfind = string.gmatch or string.gfind
|
||||
local GetUnitData = ShaguTweaks.GetUnitData
|
||||
local hooksecurefunc = ShaguTweaks.hooksecurefunc
|
||||
local GetExpansion = ShaguTweaks.GetExpansion
|
||||
local cmatch = ShaguTweaks.cmatch
|
||||
local rgbhex = ShaguTweaks.rgbhex
|
||||
|
||||
@@ -110,7 +110,7 @@ module.enable = function(self)
|
||||
end
|
||||
end
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
end
|
||||
|
||||
do -- add colors to friend list
|
||||
@@ -168,7 +168,7 @@ module.enable = function(self)
|
||||
friendInfo:SetVertexColor(1,1,1,.4)
|
||||
end
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
end
|
||||
|
||||
do -- add colors to who list
|
||||
@@ -226,6 +226,6 @@ module.enable = function(self)
|
||||
local color = GetDifficultyColor(level)
|
||||
_G["WhoFrameButton"..i.."Level"]:SetTextColor(color.r, color.g, color.b)
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user