mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Update sky color more often
This commit is contained in:
parent
cfd1456dab
commit
c9f277f7e0
2 changed files with 3 additions and 0 deletions
|
@ -6,3 +6,4 @@ mcl_hunger
|
|||
mcl_death_messages
|
||||
mcl_playerinfo
|
||||
3d_armor?
|
||||
weather_pack
|
||||
|
|
|
@ -165,6 +165,8 @@ minetest.register_globalstep(function(dtime)
|
|||
player:set_sky("#000000", "skybox", {t,t,t,t,t,t}, false)
|
||||
elseif dim == "nether" then
|
||||
player:set_sky("#300808", "plain", nil, false)
|
||||
else
|
||||
skycolor.update_sky_color({player})
|
||||
end
|
||||
if void_deadly then
|
||||
-- Player is deep into the void, deal void damage
|
||||
|
|
Loading…
Reference in a new issue