From e6b16e91ae76a6a448dee5108aa5b880442cb4b6 Mon Sep 17 00:00:00 2001 From: Ukendio Date: Sat, 11 May 2024 02:10:04 +0200 Subject: [PATCH] Remove assert --- lib/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.lua b/lib/init.lua index ea1154b..ca6a573 100644 --- a/lib/init.lua +++ b/lib/init.lua @@ -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)