From: Auke Kok Date: Fri, 20 Oct 2017 04:39:45 +0000 (-0700) Subject: Correct `prot_vers` in lua_api.txt. X-Git-Tag: 5.0.0~761 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c60abb2aeccba2920d55a518fcffd2ad57f9f59a;p=oweals%2Fminetest.git Correct `prot_vers` in lua_api.txt. We should avoid providing incorrect struct members in documentation since people will be coding based on them. --- 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