]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - doc/menu_lua_api.txt
Fix typo (#10043)
[dragonfireclient.git] / 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"