From 3b75e7fef3a09002330bae00ff08144b7a243ff5 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:34:10 +0200 Subject: [PATCH] Fix same mistake in `update_weather` --- 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 ac0df77d..8033b9e3 100644 --- a/mods/weather/init.lua +++ b/mods/weather/init.lua @@ -125,7 +125,7 @@ local function update_weather(players) shadows = { intensity = 0.7 * (1 - density) } } -- check for API overrides and then apply - local overrides = weather.on_update(player, { clouds, lighting }) + local overrides = weather.on_update(player, { clouds = clouds, lighting = lighting }) if overrides ~= nil and overrides.clouds ~= nil then player:set_clouds(overrides.clouds) end