mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2026-09-28 07:50:07 +07:00
fix: return temp table to pool
This commit is contained in:
@@ -2840,6 +2840,8 @@ function evolved.multi_insert(entity, fragments, components)
|
||||
end
|
||||
end
|
||||
|
||||
__release_table(__TABLE_POOL_TAG__FRAGMENT_SET, inserted_set)
|
||||
|
||||
__entity_chunks[entity_index] = new_chunk
|
||||
__entity_places[entity_index] = new_place
|
||||
|
||||
|
||||
Reference in New Issue
Block a user