mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
Remove unnecessary shadowed variable
This commit is contained in:
parent
2dd0f73796
commit
bbb4338925
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue