Fix error involving non-existent global

Amazing no one caught it til now...
master
Chris N 2015-03-03 20:17:48 -10:00
parent ee06c5e176
commit b88d5cb2db
1 changed files with 1 additions and 1 deletions

View File

@ -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