From 567ceccd8f374747eee1fecd3e479a2e71274a2c Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Fri, 22 Aug 2025 17:13:48 +0200 Subject: [PATCH] Fix weather type in docs --- files/lua_api/openmw/core.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/lua_api/openmw/core.lua b/files/lua_api/openmw/core.lua index a9c12de1f0..56ebdf5e9b 100644 --- a/files/lua_api/openmw/core.lua +++ b/files/lua_api/openmw/core.lua @@ -1251,13 +1251,13 @@ -- Get the current weather -- @function [parent=#Weather] getCurrent -- @param #Cell cell The cell to get the current weather for --- @return #Weather Can be nil if the cell is inactive or has no weather +-- @return #WeatherRecord Can be nil if the cell is inactive or has no weather --- -- Get the next weather if any -- @function [parent=#Weather] getNext -- @param #Cell cell The cell to get the next weather for --- @return #Weather Can be nil +-- @return #WeatherRecord Can be nil --- -- Get current weather transition value @@ -1269,7 +1269,7 @@ -- Change the weather -- @function [parent=#Weather] changeWeather -- @param #string regionId --- @param #Weather weather The weather to change to +-- @param #WeatherRecord weather The weather to change to --- -- Get the current direction of the light of the sun.