mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
nil return for getSmallestMap()
This commit is contained in:
parent
8ef960dad6
commit
7e110a7487
1 changed files with 2 additions and 2 deletions
|
@ -358,7 +358,7 @@ local function getSmallestMap(componentIndex, components)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return s.sparse
|
return s and s.sparse or nil
|
||||||
end
|
end
|
||||||
|
|
||||||
function World.query(world: World, ...: i53): any
|
function World.query(world: World, ...: i53): any
|
||||||
|
|
Loading…
Reference in a new issue