aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2017-10-19 21:39:45 -0700
committerAuke Kok <sofar@foo-projects.org>2017-10-19 21:39:45 -0700
commitc60abb2aeccba2920d55a518fcffd2ad57f9f59a (patch)
tree6da89203a29f6dadb2d384b10ec779d1633fe2b4
parentcdedaac5e299f71df72c2eb49ec52506467af831 (diff)
downloadminetest-c60abb2aeccba2920d55a518fcffd2ad57f9f59a.tar.gz
minetest-c60abb2aeccba2920d55a518fcffd2ad57f9f59a.tar.bz2
minetest-c60abb2aeccba2920d55a518fcffd2ad57f9f59a.zip
Correct `prot_vers` in lua_api.txt.
We should avoid providing incorrect struct members in documentation since people will be coding based on them.
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 91ea900d0..726c23af6 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2362,7 +2362,7 @@ Strings that need to be translated can contain several escapes, preceded by `@`.
max_jitter = 0.5, -- maximum packet time jitter
avg_jitter = 0.03, -- average packet time jitter
connection_uptime = 200, -- seconds since client connected
- prot_vers = 31, -- protocol version used by client
+ protocol_version = 32, -- protocol version used by client
-- following information is available on debug build only!!!
-- DO NOT USE IN MODS
--ser_vers = 26, -- serialization version used by client