Remove unused EMPTY_QUERY table

This commit is contained in:
lolmanurfunny 2025-03-06 21:13:32 -05:00
parent a703e2c361
commit e4ebb9eed6

View file

@ -1221,27 +1221,6 @@ 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 = {
compatible_archetypes: { Archetype },
ids: { i53 },