mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
using table.remove to not leave a hole in the array (#36)
This commit is contained in:
@ -1453,7 +1453,7 @@ function IceTargetInfo.prototype:UpdateBuffType(aura)
|
||||
end
|
||||
else
|
||||
self.frame[auraFrame].iconFrames[i]:Hide()
|
||||
buffData[aura][i] = nil
|
||||
table.remove(buffData[aura], i)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user