mirror of
https://github.com/luanti-org/minetest_game.git
synced 2026-01-10 19:25:37 +01:00
Fix set_default_lighting writing to list rather than hash part
This commit is contained in:
@@ -74,7 +74,7 @@ local function set_default_lighting(players)
|
|||||||
local lighting = {
|
local lighting = {
|
||||||
shadows = { intensity = 0.33 }
|
shadows = { intensity = 0.33 }
|
||||||
}
|
}
|
||||||
local overrides = weather.on_update(player, { lighting })
|
local overrides = weather.on_update(player, { lighting = lighting })
|
||||||
if overrides.lighting ~= nil then
|
if overrides.lighting ~= nil then
|
||||||
player:set_lighting(overrides.lighting)
|
player:set_lighting(overrides.lighting)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user