1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2024-11-14 06:30:21 +01:00

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

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()