Revert "nil return for getSmallestMap() (#5)" (#8)

* Revert "nil return for getSmallestMap() (#5)"

This reverts commit 12287b12ef.

* Keep export world
This commit is contained in:
Marcus 2024-04-30 16:21:21 +02:00 committed by GitHub
parent 12287b12ef
commit 6adc3670ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -360,7 +360,7 @@ local function getSmallestMap(componentIndex, components)
end
end
return s and s.sparse or nil
return s.sparse
end
function World.query(world: World, ...: i53): any