mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2025-12-16 14:11:16 +07:00
remove legacy spawn_at / spawn_as
This commit is contained in:
@@ -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)))
|
||||
|
||||
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user