From bf7296e5c50bee0d6c4e88ceae9d5d9b13651a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= <34514239+appgurueu@users.noreply.github.com> Date: Fri, 21 Apr 2023 11:32:36 +0200 Subject: [PATCH] Fix `set_default_lighting` writing to list rather than hash part --- mods/weather/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/weather/init.lua b/mods/weather/init.lua index 51fb4c83..ac0df77d 100644 --- a/mods/weather/init.lua +++ b/mods/weather/init.lua @@ -74,7 +74,7 @@ local function set_default_lighting(players) local lighting = { shadows = { intensity = 0.33 } } - local overrides = weather.on_update(player, { lighting }) + local overrides = weather.on_update(player, { lighting = lighting }) if overrides.lighting ~= nil then player:set_lighting(overrides.lighting) end