Skip to content

Commit e6c451b

Browse files
author
Daisyhasacat
committed
Merge branch 'docs-fixes' into 'master'
Fix Incorrect Menu Script Badge and ModifyStat Table Index in Lua Docs See merge request OpenMW/openmw!5313
2 parents 8418dbb + 7273467 commit e6c451b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/source/reference/lua-scripting/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Modify the corresponding stat.
7171
.. code-block:: Lua
7272
7373
-- Consume 10 magicka
74-
actor:sendEvent('ModifyStat', {name = 'magicka', amount = -10})
74+
actor:sendEvent('ModifyStat', {stat = 'magicka', amount = -10})
7575
7676
**AddVfx**
7777

docs/source/reference/lua-scripting/tables/packages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
- |bdg-ctx-all|
5252
- Storage API. In particular can be used to store data between game sessions.
5353
* - :doc:`types </reference/lua-scripting/openmw_types>`
54-
- |bdg-ctx-non-load|
54+
- |bdg-ctx-global| |bdg-ctx-local|
5555
- Functions for specific types of game objects.
5656
* - :doc:`ui </reference/lua-scripting/openmw_ui>`
5757
- |bdg-ctx-menu| |bdg-ctx-player|

0 commit comments

Comments
 (0)