From c60abb2aeccba2920d55a518fcffd2ad57f9f59a Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Thu, 19 Oct 2017 21:39:45 -0700 Subject: [PATCH] Correct `prot_vers` in lua_api.txt. We should avoid providing incorrect struct members in documentation since people will be coding based on them. --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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