don't nil-out the recheck list, just empty it.

This commit is contained in:
Vanessa Dannenberg 2021-04-16 12:59:56 -04:00
parent 6342a16b0a
commit bf2ac2ea57
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ minetest.register_on_shutdown(function()
if #biome_lib.block_recheck_list > 0 then
biome_lib.block_log = table.copy(biome_lib.block_recheck_list)
biome_lib.block_recheck_list = nil
biome_lib.block_recheck_list = {}
while #biome_lib.block_log > 0 do
biome_lib.generate_block(true)
biome_lib.check_remaining_time()