Compare commits

..

1 commit

Author SHA1 Message Date
Denizhan Dakılır
0760517078
Merge 7b870e8f3c into a703e2c361 2025-03-07 13:03:09 +10:00

View file

@ -1221,6 +1221,27 @@ end
local function NOOP() end local function NOOP() end
local function ARM(query, ...)
return query
end
local EMPTY_LIST = {}
local EMPTY_QUERY = {
__iter = function()
return NOOP
end,
iter = function()
return NOOP
end,
with = ARM,
without = ARM,
archetypes = function()
return EMPTY_LIST
end,
}
setmetatable(EMPTY_QUERY, EMPTY_QUERY)
type QueryInner = { type QueryInner = {
compatible_archetypes: { Archetype }, compatible_archetypes: { Archetype },
ids: { i53 }, ids: { i53 },