mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
return 0 instead
This commit is contained in:
parent
b9e0b7424b
commit
ce2a9e08ac
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ local function entity_index_get_alive(index: EntityIndex, e: i24): i53
|
|||
if r then
|
||||
return index.dense_array[r.dense]
|
||||
end
|
||||
error("Invalid entity")
|
||||
return 0
|
||||
end
|
||||
|
||||
local function entity_index_is_alive(entity_index: EntityIndex, entity: number)
|
||||
|
|
Loading…
Reference in a new issue