mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
fix
This commit is contained in:
parent
8d3c8530d9
commit
965c28fdf7
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue