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