This commit is contained in:
Zsolt Bartha 2014-05-13 15:49:06 -06:00
parent 8d3c8530d9
commit 965c28fdf7

View file

@ -16,7 +16,7 @@ end)
-- Sky textures -- Sky textures
minetest.register_on_joinplayer(function(player) minetest.register_on_joinplayer(function(player)
minetest.after(0, function() minetest.after(0, function()
textures ={ skytex ={
"pink_planet_pos_y.png", "pink_planet_pos_y.png",
"pink_planet_neg_y.png", "pink_planet_neg_y.png",
"pink_planet_pos_z.png", "pink_planet_pos_z.png",
@ -25,6 +25,6 @@ minetest.register_on_joinplayer(function(player)
"pink_planet_pos_x.png", "pink_planet_pos_x.png",
} }
player:set_sky({r=0, g=0, b=0, a=0},"skybox", textures) player:set_sky({r=0, g=0, b=0, a=0},"skybox", skytex)
end) end)
end) end)