From 94f3eb0cc14fc1e86d47065f1479bb53ddb28860 Mon Sep 17 00:00:00 2001 From: Ukendio Date: Tue, 18 Nov 2025 21:12:47 +0100 Subject: [PATCH] Fix linting issues --- jecs.luau | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jecs.luau b/jecs.luau index 3f82601..b20a027 100755 --- a/jecs.luau +++ b/jecs.luau @@ -247,7 +247,7 @@ export type World = { added: (World, Component, (e: Entity, id: Id, value: T, oldarchetype: Archetype) -> ()) -> () -> (), removed: (World, Component, (e: Entity, id: Id) -> ()) -> () -> (), - changed: (World, Component, (e: Entity, id: Id, value: T, oldarchetype: Archetype) -> ()) -> () -> (), + changed: (World, Component, (e: Entity, id: Id, value: T, oldarchetype: Archetype) -> ()) -> () -> (), --- Enforce a check on entities to be created within desired range range: (self: World, range_begin: number, range_end: number?) -> (), @@ -3228,7 +3228,7 @@ local function world_new() local tr_count = counts[archetype_id] local idr_r_types = idr_r_archetype.types for i = tr, tr + tr_count - 1 do - local id = idr_r_types[i] + local id = types[i] node = archetype_traverse_remove(world, id, node) local on_remove = component_index[id].on_remove if on_remove then