fix(ui): bad omit implementation

This commit is contained in:
Guillaume ARM 2024-05-23 19:15:44 +02:00
parent 11831c9054
commit b1c24ee6a2

View File

@ -31,8 +31,9 @@ local function omitN(t, n)
for k,v in pairs(t) do
if n == 0 then
result[k] = v
else
n = n - 1
end
n = n - 1
end
return result