Update sky color more often
This commit is contained in:
parent
cfd1456dab
commit
c9f277f7e0
|
@ -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 New Issue