aboutsummaryrefslogtreecommitdiff
path: root/doc/menu_lua_api.txt
diff options
context:
space:
mode:
authorAbdou-31 <abdou31.coding@gmail.com>2022-10-21 16:12:39 +0100
committerGitHub <noreply@github.com>2022-10-21 17:12:39 +0200
commit7e11b8eb721a9039e84ea51ec2e1f58d3c036849 (patch)
tree797be14d733a2b9ef1b65a27fb1e333eb03018bd /doc/menu_lua_api.txt
parentc78d565e011125a13c1e29584c04f2b97f0d6b3e (diff)
downloadminetest-7e11b8eb721a9039e84ea51ec2e1f58d3c036849.tar.xz
Fix typos and en_US/en_GB inconsistency in files inside doc directory (#12882)
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r--doc/menu_lua_api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 7c820b0cd..b5c29aeb9 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -24,7 +24,7 @@ The "gamedata" table is read when calling core.start(). It should contain:
{
playername = <name>,
password = <password>,
- address = <IP/adress>,
+ address = <IP/address>,
port = <port>,
selected_world = <index>, -- 0 for client mode
singleplayer = <true/false>,
@@ -64,7 +64,7 @@ core.create_dir(absolute_path) (possible in async calls)
core.delete_dir(absolute_path) (possible in async calls)
^ absolute_path to directory to delete (needs to be absolute)
^ returns true/false
-core.copy_dir(source,destination,keep_soure) (possible in async calls)
+core.copy_dir(source,destination,keep_source) (possible in async calls)
^ source folder
^ destination folder
^ keep_source DEFAULT true --> if set to false source is deleted after copying
@@ -76,7 +76,7 @@ core.extract_zip(zipfile,destination) [unzip within path required]
^ destination folder to extract to
^ returns true/false
core.sound_play(spec, looped) -> handle
-^ spec = SimpleSoundSpec (see lua-api.txt)
+^ spec = SimpleSoundSpec (see lua_api.txt)
^ looped = bool
core.sound_stop(handle)
core.get_video_drivers()