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,
next = noop,
replace = noop,
without = function()
return EmptyQuery
without = function(self)
return self
end
}
@ -835,7 +835,7 @@ local function preparedQuery(compatibleArchetypes: { Archetype },
for i = 1, queryLength do
queryOutput[i] = columns[tr[i]][row]
end
replace(row, columns, fn(unpack(queryOutput)))
replaceColumns(row, columns, fn(unpack(queryOutput)))
end
end
end