Skip to content
Permalink
Browse files

Correct `prot_vers` in lua_api.txt.

We should avoid providing incorrect struct members in documentation
since people will be coding based on them.
  • Loading branch information...
sofar committed Oct 20, 2017
1 parent cdedaac commit c60abb2aeccba2920d55a518fcffd2ad57f9f59a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit c60abb2

Please sign in to comment.
You can’t perform that action at this time.