prediction: add missing inpairs

This commit is contained in:
shagu
2018-09-29 01:18:13 +02:00
parent 6a7a513c88
commit c417f89d34
+1 -1
View File
@@ -172,7 +172,7 @@ pfUI:RegisterModule("prediction", function ()
function pfUI.prediction:UpdateUnitFrames(name, heal, ress)
OVERHEALPERCENT = OVERHEALPERCENT or 20
for id, frame in _G.pfUI.uf.frames do
for id, frame in pairs(_G.pfUI.uf.frames) do
if frame:IsVisible() and frame.label and frame.id then
local unit = frame.label .. frame.id
local health, maxHealth = UnitHealth(unit), UnitHealthMax(unit)