Compare commits

..

2 commits

Author SHA1 Message Date
Ajay
daba8b2539
Merge 918231a1ad into a703e2c361 2025-03-07 13:03:18 +10:00
lolmanurfunny
a703e2c361
Remove redundant check in entity_index_try_get_any (#203)
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-03-07 02:16:49 +01:00

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