diff --git a/heightmap.lua b/heightmap.lua index d6b2303..35b2737 100644 --- a/heightmap.lua +++ b/heightmap.lua @@ -60,7 +60,7 @@ local function heightmaps(minp, maxp) local depth_factor_max = 0 local imax = 0 for i=1, 8 do - if depth_factors[i] >= depth_factor_max then + if depth_factors[i] > depth_factor_max then depth_factor_max = depth_factors[i] imax = i end