]> git.lizzy.rs Git - minetest.git/commitdiff
Correct `prot_vers` in lua_api.txt.
authorAuke Kok <sofar@foo-projects.org>
Fri, 20 Oct 2017 04:39:45 +0000 (21:39 -0700)
committerAuke Kok <sofar@foo-projects.org>
Fri, 20 Oct 2017 04:39:45 +0000 (21:39 -0700)
We should avoid providing incorrect struct members in documentation
since people will be coding based on them.

doc/lua_api.txt

index 91ea900d0ce9f366e51e851402cdc9f93d68b62b..726c23af64d2eb09c8fa8b25444c0034ce3851fb 100644 (file)
@@ -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