summaryrefslogtreecommitdiff
path: root/doc/menu_lua_api.txt
diff options
context:
space:
mode:
authoroilboi <47129783+oilboi@users.noreply.github.com>2020-06-17 13:59:02 -0400
committerGitHub <noreply@github.com>2020-06-17 18:59:02 +0100
commita1b444bb61e6c9dcb0581a8550fd7795a3555cec (patch)
treeebbbc980b3f2c263c9a94d25f59c0618bb9c1f1f /doc/menu_lua_api.txt
parent3a6dfda358112e2fb5d6f887a1a1e936eacddadd (diff)
downloadminetest-a1b444bb61e6c9dcb0581a8550fd7795a3555cec.tar.gz
minetest-a1b444bb61e6c9dcb0581a8550fd7795a3555cec.tar.bz2
minetest-a1b444bb61e6c9dcb0581a8550fd7795a3555cec.zip
Fix typo (#10043)
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r--doc/menu_lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 4eccf5d10..724e37855 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -11,7 +11,7 @@ Description of formspec language to show your menu is in lua_api.txt
Callbacks
---------
-core.buttonhandler(fields): called when a button is pressed.
+core.button_handler(fields): called when a button is pressed.
^ fields = {name1 = value1, name2 = value2, ...}
core.event_handler(event)
^ event: "MenuQuit", "KeyEnter", "ExitButton" or "EditBoxEnter"