From cf8942174838678e6aa3042a4ade89e7eed06724 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 14 Feb 2023 19:37:53 -0700 Subject: [PATCH] now that bubblesponge overwriting is fixed, move them back above the surface of the sand. --- df_caverns/shared.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/df_caverns/shared.lua b/df_caverns/shared.lua index 4f9808b..18c9050 100644 --- a/df_caverns/shared.lua +++ b/df_caverns/shared.lua @@ -124,8 +124,8 @@ df_caverns.flooded_cavern_floor = function(abs_cracks, vert_rand, vi, area, data if c_bubblesponge and abs_cracks > 0.5 and math.random() < 0.01 then local vi_above = vi + ystride if data[vi_above] == c_water then - data[vi] = c_bubblesponge - minetest.get_node_timer(area:position(vi)):set(1, bubblesponge.config.growth_seconds * 6) -- immediate growth + data[vi_above] = c_bubblesponge + minetest.get_node_timer(area:position(vi_above)):set(1, bubblesponge.config.growth_seconds * 6) -- immediate growth if log_location then log_location("flooded_bubblesponge", area:position(vi_above)) end end else