mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
undo variable changes
This commit is contained in:
parent
3a560393f1
commit
fa4df24ada
1 changed files with 4 additions and 4 deletions
|
@ -1113,11 +1113,11 @@ do
|
|||
end
|
||||
|
||||
local delete = entity
|
||||
local archetypes: Archetypes = world.archetypes
|
||||
local component_index = world.component_index
|
||||
|
||||
local idr = component_index[entity]
|
||||
local idr_t = component_index[ECS_PAIR(EcsWildcard, entity)]
|
||||
local archetypes: Archetypes = world.archetypes
|
||||
local tgt = ECS_PAIR(EcsWildcard, delete)
|
||||
local idr_t = component_index[tgt]
|
||||
local idr = component_index[delete]
|
||||
|
||||
if idr then
|
||||
local flags = idr.flags
|
||||
|
|
Loading…
Reference in a new issue