Quantcast

Updated Hacks to not attempt to scale the frame while you are in combat lockdown

James Whitehead II [01-03-07 - 22:58]
Updated Hacks to not attempt to scale the frame while you are in combat lockdown
Filename
PerfectRaid_Hacks.lua
diff --git a/PerfectRaid_Hacks.lua b/PerfectRaid_Hacks.lua
index c894818..9efddc9 100644
--- a/PerfectRaid_Hacks.lua
+++ b/PerfectRaid_Hacks.lua
@@ -132,6 +132,7 @@ function Hacks:UpdateBackdrop()
 end

 function Hacks:UpdateScale(val)
+	if InCombatLockdown() then return end
 	local scale = val or PerfectRaid.db.profile.HacksScale
 	for i=1,8 do
 		local name = "PRHeader"..i