mirror of
https://github.com/mt-mods/biome_lib.git
synced 2024-12-23 17:30:18 +01:00
fix reporting of log sizes during shutdown
This commit is contained in:
parent
2dbacae561
commit
c6cd524f62
3
init.lua
3
init.lua
@ -622,7 +622,7 @@ minetest.register_on_shutdown(function()
|
||||
end
|
||||
|
||||
biome_lib.dbg("Stand by, purging the mapblock log "..
|
||||
"(there are "..(#biome_lib.block_log + #biome_lib.block_recheck_list).." entries) ...", 0)
|
||||
"(there are "..biome_lib.starting_count.." entries) ...", 0)
|
||||
|
||||
while #biome_lib.block_log > 0 do
|
||||
biome_lib.generate_block(true)
|
||||
@ -631,6 +631,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
|
||||
while #biome_lib.block_log > 0 do
|
||||
biome_lib.generate_block(true)
|
||||
biome_lib.check_remaining_time()
|
||||
|
Loading…
Reference in New Issue
Block a user