mirror of
https://github.com/Ukendio/jecs.git
synced 2026-05-13 14:24:14 +00:00
be a bit more explicit for checking if an entity is alive
This commit is contained in:
parent
3077e6baa4
commit
3dfde5feb4
1 changed files with 1 additions and 1 deletions
|
|
@ -3344,7 +3344,7 @@ TEST("world:targets()", function()
|
|||
if dense > entity_index.alive_count then
|
||||
return false
|
||||
end
|
||||
return true
|
||||
return entity_index.dense_array[dense] ~= nil
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue