mirror of
https://github.com/Ukendio/jecs.git
synced 2025-08-05 19:49:17 +00:00
Compare commits
No commits in common. "8490dfd294a3932f92667671a9666f0ddb1e7da2" and "803616a005f14c7ff9c3e64a452c2a7d08ac06bd" have entirely different histories.
8490dfd294
...
803616a005
32 changed files with 2290 additions and 2293 deletions
|
@ -1934,9 +1934,6 @@ local function query_cached(query: ecs_query_data_t)
|
||||||
|
|
||||||
local function on_delete_callback(archetype)
|
local function on_delete_callback(archetype)
|
||||||
local i = table.find(archetypes, archetype) :: number
|
local i = table.find(archetypes, archetype) :: number
|
||||||
if i == nil then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
local n = #archetypes
|
local n = #archetypes
|
||||||
archetypes[i] = archetypes[n]
|
archetypes[i] = archetypes[n]
|
||||||
archetypes[n] = nil
|
archetypes[n] = nil
|
||||||
|
|
Loading…
Reference in a new issue