Skip to content

Commit

Permalink
Fix error involving non-existent global
Browse files Browse the repository at this point in the history
Amazing no one caught it til now...
  • Loading branch information
HeroOfTheWinds committed Mar 4, 2015
1 parent ee06c5e commit b88d5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit b88d5cb

@Zeno-
Copy link

@Zeno- Zeno- commented on b88d5cb Apr 26, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, it was noticed but kinda ignored xD

@Holyphoenix
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

Please sign in to comment.