helpers: make hooksecurefunc append by default

This commit is contained in:
shagu
2025-07-30 20:26:29 +02:00
parent 3d963c851f
commit 344354d975
7 changed files with 17 additions and 19 deletions
-1
View File
@@ -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
+3 -3
View File
@@ -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