From 96f4057f08190f8d0d8718cea22a5861cc95b79f Mon Sep 17 00:00:00 2001 From: Adam Ibrahim Date: Wed, 18 May 2022 03:22:12 +0000 Subject: [PATCH] Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua --- files/lua_api/openmw/types.lua | 2 +- files/lua_api/openmw/ui.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/lua_api/openmw/types.lua b/files/lua_api/openmw/types.lua index ae40cee595..93498dab06 100644 --- a/files/lua_api/openmw/types.lua +++ b/files/lua_api/openmw/types.lua @@ -659,7 +659,7 @@ -- @field #string id Record id -- @field #string name Human-readable name -- @field #string model VFS path to the model --- @field #string mwscript MWScript on this door (can be empty) +-- @field #string mwscript MWScript on this weapon (can be empty) -- @field #string icon -- @field #string enchant -- @field #boolean isMagical diff --git a/files/lua_api/openmw/ui.lua b/files/lua_api/openmw/ui.lua index 52660a5c3e..164d8768a9 100644 --- a/files/lua_api/openmw/ui.lua +++ b/files/lua_api/openmw/ui.lua @@ -127,7 +127,7 @@ -- end --- --- Index of the layer with the givent name. Returns nil if the layer doesn't exist +-- Index of the layer with the given name. Returns nil if the layer doesn't exist -- @function [parent=#Layers] indexOf -- @param #string name Name of the layer -- @return #number, #nil index