From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Wed, 17 Jun 2020 17:59:02 +0000 (-0400) Subject: Fix typo (#10043) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a1b444bb61e6c9dcb0581a8550fd7795a3555cec;p=oweals%2Fminetest.git Fix typo (#10043) --- 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"