mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Remove assert
This commit is contained in:
parent
4c105fa72c
commit
e6b16e91ae
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ local function ECS_PAIR(source: number, target: number)
|
|||
end
|
||||
|
||||
local function getAlive(entityIndex: EntityIndex, id: i53)
|
||||
return assert(entityIndex.dense[id], id .. "is not alive")
|
||||
return entityIndex.dense[id]
|
||||
end
|
||||
|
||||
local function ecs_get_source(entityIndex, e)
|
||||
|
|
Loading…
Reference in a new issue