remove legacy spawn_at / spawn_as

This commit is contained in:
BlackMATov
2025-04-22 20:01:11 +07:00
parent 72979b46a4
commit b2c36720a9
9 changed files with 609 additions and 2222 deletions

View File

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

View File

@@ -102,7 +102,7 @@ end
---
---
local all_chunk_query = evo.builder():build()
local all_chunk_query = evo.spawn()
for chunk in evo.execute(all_chunk_query) do
assert(not chunk:has_any(__table_unpack(destroying_entity_list)))