From 3150a8bd7a01a28879876bc7980fdb4984bb4723 Mon Sep 17 00:00:00 2001 From: kurokuukyo Date: Mon, 20 Apr 2026 20:17:00 -0400 Subject: [PATCH] redeclare component_index as ct_idx --- src/jecs.luau | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jecs.luau b/src/jecs.luau index 26dca6f..d23d0c0 100755 --- a/src/jecs.luau +++ b/src/jecs.luau @@ -3311,7 +3311,7 @@ local function world_new(DEBUG: boolean?) end local NOOP = NOOP :: () -> i53 - + local function world_targets(world: world, entity: i53, relation: i53): () -> i53? local record = entity_index_try_get_unsafe(entity) if not record then @@ -3324,7 +3324,8 @@ local function world_new(DEBUG: boolean?) end local r = ECS_PAIR(relation, EcsWildcard) - local idr = world.component_index[r] + local ct_idx = world.component_index + local idr = ct_idx[r] if not idr then return NOOP