return self in without

This commit is contained in:
Ukendio 2024-07-07 00:20:27 +02:00
parent ddbfd6c383
commit f6a734d02e

View file

@ -665,8 +665,8 @@ local EmptyQuery = {
__iter = iterNoop, __iter = iterNoop,
next = noop, next = noop,
replace = noop, replace = noop,
without = function() without = function(self)
return EmptyQuery return self
end end
} }
@ -835,7 +835,7 @@ local function preparedQuery(compatibleArchetypes: { Archetype },
for i = 1, queryLength do for i = 1, queryLength do
queryOutput[i] = columns[tr[i]][row] queryOutput[i] = columns[tr[i]][row]
end end
replace(row, columns, fn(unpack(queryOutput))) replaceColumns(row, columns, fn(unpack(queryOutput)))
end end
end end
end end