From f15888f474362f381e2a3b5d03a1fa194ca6b115 Mon Sep 17 00:00:00 2001 From: uramer Date: Tue, 23 Jul 2024 20:52:37 +0200 Subject: [PATCH] Lua docs: getRealFrameDuration not available in global --- files/lua_api/openmw/core.lua | 2 +- files/lua_api/openmw/world.lua | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/files/lua_api/openmw/core.lua b/files/lua_api/openmw/core.lua index 9fce8e70a8..88f2a63371 100644 --- a/files/lua_api/openmw/core.lua +++ b/files/lua_api/openmw/core.lua @@ -52,7 +52,7 @@ -- @return #number --- --- Frame duration in seconds +-- Frame duration in seconds. Not available in global scripts. -- @function [parent=#core] getRealFrameDuration -- @return #number diff --git a/files/lua_api/openmw/world.lua b/files/lua_api/openmw/world.lua index f6269375ec..b497dfeacd 100644 --- a/files/lua_api/openmw/world.lua +++ b/files/lua_api/openmw/world.lua @@ -118,11 +118,6 @@ -- @function [parent=#world] setGameTimeScale -- @param #number ratio ---- --- Frame duration in seconds --- @function [parent=#world] getRealFrameDuration --- @return #number - --- -- Whether the world is paused (onUpdate doesn't work when the world is paused). -- @function [parent=#world] isWorldPaused