be a bit more explicit for checking if an entity is alive

This commit is contained in:
kurokuukyo 2026-04-21 07:04:55 -04:00
parent 3077e6baa4
commit 3dfde5feb4

View file

@ -3344,7 +3344,7 @@ TEST("world:targets()", function()
if dense > entity_index.alive_count then if dense > entity_index.alive_count then
return false return false
end end
return true return entity_index.dense_array[dense] ~= nil
end end