diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-10-05 12:35:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 15:35:55 +0300 |
commit | 4fca601e0cf74ce642e4e49ca7d4fe3e59915846 (patch) | |
tree | 985cf00b173113638cf59b29464f5e6bf57de9d6 /src/script/lua_api/l_server.h | |
parent | d7e7ade0f61a0f5e05d889ffbc7d9a878148a461 (diff) | |
download | minetest-4fca601e0cf74ce642e4e49ca7d4fe3e59915846.tar.gz minetest-4fca601e0cf74ce642e4e49ca7d4fe3e59915846.tar.bz2 minetest-4fca601e0cf74ce642e4e49ca7d4fe3e59915846.zip |
Add get_server_max_lag() (#11671)
Diffstat (limited to 'src/script/lua_api/l_server.h')
-rw-r--r-- | src/script/lua_api/l_server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_server.h b/src/script/lua_api/l_server.h index c688e494b..a6f709787 100644 --- a/src/script/lua_api/l_server.h +++ b/src/script/lua_api/l_server.h @@ -33,6 +33,9 @@ private: // get_server_uptime() static int l_get_server_uptime(lua_State *L); + // get_server_max_lag() + static int l_get_server_max_lag(lua_State *L); + // get_worldpath() static int l_get_worldpath(lua_State *L); |