Fix typo (#10043)
authoroilboi <47129783+oilboi@users.noreply.github.com>
Wed, 17 Jun 2020 17:59:02 +0000 (13:59 -0400)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 17:59:02 +0000 (18:59 +0100)
doc/menu_lua_api.txt

index 4eccf5d103b7f856f0dae84d9f73cd79ee4b3f0f..724e378559032448f3c01e47551b1626bdb3f8f5 100644 (file)
@@ -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"