mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +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
|
if r then
|
||||||
return index.dense_array[r.dense]
|
return index.dense_array[r.dense]
|
||||||
end
|
end
|
||||||
error("Invalid entity")
|
return 0
|
||||||
end
|
end
|
||||||
|
|
||||||
local function entity_index_is_alive(entity_index: EntityIndex, entity: number)
|
local function entity_index_is_alive(entity_index: EntityIndex, entity: number)
|
||||||
|
|
Loading…
Reference in a new issue