mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-22 20:10:50 +00:00
librange: fix tbc variable load scoping
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ librange:RegisterEvent("PLAYER_ENTER_COMBAT")
|
|||||||
librange:RegisterEvent("PLAYER_LEAVE_COMBAT")
|
librange:RegisterEvent("PLAYER_LEAVE_COMBAT")
|
||||||
librange:SetScript("OnEvent", function()
|
librange:SetScript("OnEvent", function()
|
||||||
-- disable range checking activities
|
-- disable range checking activities
|
||||||
if C.unitframes.rangecheck == "0" or not spells[class] then
|
if pfUI_config.unitframes.rangecheck == "0" or not spells[class] then
|
||||||
this:Hide()
|
this:Hide()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user