Merge pull request #9 from HybridDog/globalfixes

fix error messages
This commit is contained in:
Splizard 2015-02-16 13:46:18 +13:00
commit 96086a048f
3 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
local plain = biome == 2 -- spawns not much
local alpine = biome == 3 -- rocky terrain
-- Water biomes
biome2 = pr:next(1, 5)
local biome2 = pr:next(1, 5)
local cool = biome == 1 -- only spawns ice on edge of water
local icebergs = biome == 2
local icesheet = biome == 3

View File

@ -66,7 +66,7 @@ end
--Christmas easter egg
minetest.register_on_mapgen_init( function()
if skins then
if rawget(_G, "skins") then
skins.add("character_snow_man")
end
end

View File

@ -68,7 +68,7 @@ local sled = {
visual = "mesh",
mesh = "sled.x",
textures = {"sled.png"},
HUD,
nil,
driver = nil,
sliding = false,