fix(ui): bad omit implementation
This commit is contained in:
parent
11831c9054
commit
b1c24ee6a2
@ -31,8 +31,9 @@ local function omitN(t, n)
|
|||||||
for k,v in pairs(t) do
|
for k,v in pairs(t) do
|
||||||
if n == 0 then
|
if n == 0 then
|
||||||
result[k] = v
|
result[k] = v
|
||||||
|
else
|
||||||
|
n = n - 1
|
||||||
end
|
end
|
||||||
n = n - 1
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user