Remove redundant check in entity_index_try_get_any

This commit is contained in:
lolmanurfunny 2025-03-06 15:42:18 -05:00
parent 4435d718a7
commit 5454e79a4a

View file

@ -172,9 +172,6 @@ end
local function entity_index_try_get_any(entity_index: EntityIndex, entity: number): Record?
local r = entity_index.sparse_array[ECS_ENTITY_T_LO(entity)]
if not r then
return nil
end
if not r or r.dense == 0 then
return nil