mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2026-09-13 09:22:45 +07:00
non-shrinking version of garbage collection
This commit is contained in:
@@ -78,11 +78,11 @@ end
|
||||
---
|
||||
|
||||
if math.random(1, 2) == 1 then
|
||||
evo.collect_garbage()
|
||||
evo.collect_garbage(math.random(1, 2) == 1)
|
||||
end
|
||||
|
||||
evo.destroy(__table_unpack(all_entity_list))
|
||||
|
||||
if math.random(1, 2) == 1 then
|
||||
evo.collect_garbage()
|
||||
evo.collect_garbage(math.random(1, 2) == 1)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user