mirror of
https://github.com/HybridDog/riesenpilz.git
synced 2025-01-09 09:20:27 +01:00
mapgen: Fix smooth transitions
This commit is contained in:
parent
6257c39406
commit
6b259b94ad
@ -34,7 +34,7 @@ end
|
||||
|
||||
|
||||
local grounds = {}
|
||||
function is_ground(id)
|
||||
local function is_ground(id)
|
||||
local is = grounds[id]
|
||||
if is ~= nil then
|
||||
return is
|
||||
@ -56,7 +56,7 @@ function is_ground(id)
|
||||
end
|
||||
|
||||
local toremoves = {}
|
||||
function is_toremove(id)
|
||||
local function is_toremove(id)
|
||||
local is = toremoves[id]
|
||||
if is ~= nil then
|
||||
return is
|
||||
@ -168,7 +168,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
--smooth mapgen
|
||||
if riesenpilz.always_generate then
|
||||
in_biome = true
|
||||
elseif smooth then
|
||||
elseif riesenpilz.smooth then
|
||||
if test >= smooth_rarity_max
|
||||
or (
|
||||
test > smooth_rarity_min
|
||||
|
Loading…
Reference in New Issue
Block a user