mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix day/night ratio override in dimensions
This commit is contained in:
parent
bbb6900d4a
commit
89ab761fa5
1 changed files with 2 additions and 2 deletions
|
@ -165,10 +165,10 @@ minetest.register_globalstep(function(dtime)
|
|||
elseif dim == "end" then
|
||||
local t = "mcl_playerplus_end_sky.png"
|
||||
player:set_sky("#000000", "skybox", {t,t,t,t,t,t}, false)
|
||||
player:set_day_night_override_ratio(nil)
|
||||
player:override_day_night_ratio(0.5)
|
||||
elseif dim == "nether" then
|
||||
player:set_sky("#300808", "plain", nil, false)
|
||||
player:set_day_night_override_ratio(nil)
|
||||
player:override_day_night_ratio(nil)
|
||||
else
|
||||
mcl_weather.skycolor.update_sky_color({player})
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue