mirror of
https://github.com/mt-mods/biome_lib.git
synced 2024-12-23 17:30:18 +01:00
don't nil-out the recheck list, just empty it.
This commit is contained in:
parent
6342a16b0a
commit
bf2ac2ea57
2
init.lua
2
init.lua
@ -638,7 +638,7 @@ minetest.register_on_shutdown(function()
|
|||||||
|
|
||||||
if #biome_lib.block_recheck_list > 0 then
|
if #biome_lib.block_recheck_list > 0 then
|
||||||
biome_lib.block_log = table.copy(biome_lib.block_recheck_list)
|
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
|
while #biome_lib.block_log > 0 do
|
||||||
biome_lib.generate_block(true)
|
biome_lib.generate_block(true)
|
||||||
biome_lib.check_remaining_time()
|
biome_lib.check_remaining_time()
|
||||||
|
Loading…
Reference in New Issue
Block a user