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
|
||||
if n == 0 then
|
||||
result[k] = v
|
||||
else
|
||||
n = n - 1
|
||||
end
|
||||
n = n - 1
|
||||
end
|
||||
|
||||
return result
|
||||
|
||||
Loading…
Reference in New Issue
Block a user