mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
return self in without
This commit is contained in:
parent
ddbfd6c383
commit
f6a734d02e
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue