From 5b563699a753da64a43d560fe12bf3962e6ebe7c Mon Sep 17 00:00:00 2001 From: TimeHalf Date: Thu, 8 Jan 2026 12:01:38 +0530 Subject: [PATCH] =?UTF-8?q?fixed=20spelling=20mistakes=20=F0=9F=98=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sry --- how_to/002_entities.luau | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/how_to/002_entities.luau b/how_to/002_entities.luau index 4549a48..d9a9804 100755 --- a/how_to/002_entities.luau +++ b/how_to/002_entities.luau @@ -30,7 +30,7 @@ world:entity(42) --]] --- You can retrieve an entity's record by using one of jecs' functions: +-- You can retrieve an entity's record by using one of the jecs function: local record = jecs.record(world, entity) print(record) @@ -40,7 +40,7 @@ print(record) Underneath the ECS the entity ID and its record will be stored in two separate arrays. A dense array and a sparse array. Other than the fact that there is two arrays is an unimportant implementation detail. - We just use these distinct terms to differentiate tnem. The format is: + We just use these distinct terms to differentiate them. The format is: dense_array: { u53 } sparse_array: { [u24]: record } @@ -108,3 +108,4 @@ local recycled_entity = world:entity() print(`This is a huuuuge number {recycled_entity}`) print(`The recycled entity's generation incremented to {ECS_GENERATION(recycled_entity)} `) print(`However it retains the old index at {ECS_ID(recycled_entity)}`) +