Skip to content

Commit

Permalink
Select should use j not i
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukendio committed Aug 5, 2024
1 parent ec9d58f commit fd40993
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ do
without = Arm,
archetypes = function()
return empty_list
end
end,
}

setmetatable(EmptyQuery, EmptyQuery)
Expand Down Expand Up @@ -1072,7 +1072,7 @@ do
local shouldRemove = false

for j = 1, N do
local id = select(i, ...)
local id = select(j, ...)
if tr[id] then
shouldRemove = true
break
Expand Down Expand Up @@ -1147,7 +1147,7 @@ do
local shouldRemove = false

for j = 1, N do
local id = select(i, ...)
local id = select(j, ...)
if not tr[id] then
shouldRemove = true
break
Expand Down

0 comments on commit fd40993

Please sign in to comment.