using table.remove to not leave a hole in the array (#36)

This commit is contained in:
Aaron Davis
2023-07-24 00:57:22 -04:00
committed by GitHub
parent d9cfb3a09c
commit b32f090644

View File

@ -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