Remove unnecessary shadowed variable

This commit is contained in:
Ukendio 2024-07-28 02:36:13 +02:00
parent 2dd0f73796
commit bbb4338925

View file

@ -928,7 +928,7 @@ do
end end
local indices = {} local indices = {}
local compatibleArchetypes = {} compatible_archetypes = {}
local length = 0 local length = 0
local components = { ... } :: any local components = { ... } :: any
@ -970,11 +970,10 @@ do
end end
length += 1 length += 1
compatibleArchetypes[length] = compatibleArchetype compatible_archetypes[length] = compatibleArchetype
indices[length] = records indices[length] = records
end end
compatible_archetypes = compatibleArchetypes
column_indices = indices column_indices = indices
ids = components ids = components