Update sky color more often

This commit is contained in:
Wuzzy 2017-08-19 11:17:38 +02:00
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