Fix error involving non-existent global
Amazing no one caught it til now...
This commit is contained in:
parent
ee06c5e176
commit
b88d5cb2db
2
init.lua
2
init.lua
@ -219,7 +219,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
|
||||
--determine biome
|
||||
local biome = false --preliminary declaration
|
||||
n_biome = nvals_biome[nixz] --make an easier reference to the noise
|
||||
local n_biome = nvals_biome[nixz] --make an easier reference to the noise
|
||||
--compare noise values to determine a biome
|
||||
if n_biome >= 0 and n_biome < 0.5 then
|
||||
biome = 1 --moss
|
||||
|
Loading…
x
Reference in New Issue
Block a user