mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +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
|
||||
|
||||
local indices = {}
|
||||
local compatibleArchetypes = {}
|
||||
compatible_archetypes = {}
|
||||
local length = 0
|
||||
|
||||
local components = { ... } :: any
|
||||
|
@ -970,11 +970,10 @@ do
|
|||
end
|
||||
|
||||
length += 1
|
||||
compatibleArchetypes[length] = compatibleArchetype
|
||||
compatible_archetypes[length] = compatibleArchetype
|
||||
indices[length] = records
|
||||
end
|
||||
|
||||
compatible_archetypes = compatibleArchetypes
|
||||
column_indices = indices
|
||||
ids = components
|
||||
|
||||
|
|
Loading…
Reference in a new issue