librange: fix tbc variable load scoping

This commit is contained in:
shagu
2019-04-07 11:08:51 +02:00
parent 7c3696915e
commit 8c337b3d2c
+1 -1
View File
@@ -64,7 +64,7 @@ librange:RegisterEvent("PLAYER_ENTER_COMBAT")
librange:RegisterEvent("PLAYER_LEAVE_COMBAT")
librange:SetScript("OnEvent", function()
-- 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()
return
end