If a block has to be re-checked, renew its timestamp

This commit is contained in:
Vanessa Dannenberg 2021-04-07 09:12:57 -04:00
parent dd650da443
commit eabc053c05
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ function biome_lib.generate_block(shutting_down)
if not confirm_block_surroundings(minp)
and not shutting_down
and (blocklog[1][4] + biome_lib.block_timeout) > now then -- if any neighbors appear not to be loaded and the block hasn't expired yet, defer it
blocklog[1][4] = now -- reset the timer, give this block more time to "cook"
if biome_lib.run_block_recheck_list then
biome_lib.block_log[#biome_lib.block_log + 1] = table.copy(biome_lib.block_recheck_list[1])
table.remove(biome_lib.block_recheck_list, 1)