one new builder instead of three

This commit is contained in:
BlackMATov
2025-04-12 00:36:18 +07:00
parent 7e15e57154
commit 63172bb84d
8 changed files with 805 additions and 784 deletions

View File

@@ -81,7 +81,7 @@ end
do
local r = math.random(1, 2)
local q = evo.query():include(__table_unpack(destroying_include_list)):build()
local q = evo.builder():include(__table_unpack(destroying_include_list)):build()
if r == 1 then
evo.batch_destroy(q)
@@ -98,7 +98,7 @@ end
---
---
local all_chunk_query = evo.query():build()
local all_chunk_query = evo.builder():build()
for chunk in evo.execute(all_chunk_query) do
assert(not evo.has_any(chunk, __table_unpack(should_be_destroyed_entity_list)))