diff --git a/src/init.luau b/src/init.luau index f16e371..6b8606f 100644 --- a/src/init.luau +++ b/src/init.luau @@ -655,14 +655,14 @@ local function get(world: World, entityId: i53, a: i53, b: i53?, c: i53?, d: i53 end end --- the less creation the better -local function actualNoOperation() end -local function noop(_self: Query, ...): () -> () - return actualNoOperation :: any +local function noop() + return nil end local EmptyQuery = { - __iter = noop, + __iter = function() + return noop + end, next = noop, replace = noop, without = function(self)