aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2017-10-19 21:39:45 -0700
committerSmallJoker <mk939@ymail.com>2018-06-03 17:32:00 +0200
commit2f969196b86a9ffd4ef3bce9b17fcfb49ec89cd2 (patch)
tree08ee4fe6b5aeef0a9885e4e2ef0907ae410c55f5 /doc
parent0041bcc73e04b9e24c0148c0a735d271d2d1b893 (diff)
downloadminetest-2f969196b86a9ffd4ef3bce9b17fcfb49ec89cd2.tar.gz
minetest-2f969196b86a9ffd4ef3bce9b17fcfb49ec89cd2.tar.bz2
minetest-2f969196b86a9ffd4ef3bce9b17fcfb49ec89cd2.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.
Diffstat (limited to 'doc')
-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 c1799d79e..3d461735b 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2205,7 +2205,7 @@ Helper functions
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