mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
prediction: do not wipe table while still in pairs
This commit is contained in:
@@ -117,9 +117,6 @@ pfUI:RegisterModule("prediction", function ()
|
||||
for sender, amount in pairs(heals[target]) do
|
||||
if amount[2] <= GetTime() then
|
||||
heals[target][sender] = nil
|
||||
if table.getn(heals[target]) == 0 then
|
||||
heals[target] = nil
|
||||
end
|
||||
else
|
||||
sumheal = sumheal + amount[1]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user