Sync to upstream Jecs 0.6.0-nightly.20250606T001110Z
This commit is contained in:
parent
d318a47b81
commit
9b586f9c87
8 changed files with 22 additions and 19 deletions
|
@ -1934,6 +1934,9 @@ local function query_cached(query: ecs_query_data_t)
|
|||
|
||||
local function on_delete_callback(archetype)
|
||||
local i = table.find(archetypes, archetype) :: number
|
||||
if i == nil then
|
||||
return
|
||||
end
|
||||
local n = #archetypes
|
||||
archetypes[i] = archetypes[n]
|
||||
archetypes[n] = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue