From 5436cfcc656fa3391d225beb72bf4c84aec41e33 Mon Sep 17 00:00:00 2001 From: Christian Doczkal <20443222+chdoc@users.noreply.github.com> Date: Tue, 1 Sep 2026 17:32:38 +0200 Subject: [PATCH] adapt to dfhack/dfhack#5884 --- weather.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather.lua b/weather.lua index 396a7850c8..970a9f2137 100644 --- a/weather.lua +++ b/weather.lua @@ -15,7 +15,7 @@ if args[1] then cmd = args[1]:sub(1, 1) end if cmd == "h" or cmd == "?" then - print("The current weather is "..df.weather_type[dfhack.world.ReadCurrentWeather()]) + print("The current weather is "..df.weather_type[dfhack.maps.getCurrentWeather()]) print(helpstr) elseif cmd == "c" then dfhack.world.SetCurrentWeather(df.weather_type.None)