1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-21 20:05:45 +02:00

uploading version 2

This commit is contained in:
Foghrye4
2016-04-19 20:27:17 +03:00
5 changed files with 53 additions and 0 deletions

View File

@@ -290,7 +290,11 @@ end
--------------------------------------------------------------------------------
function is_server_protocol_compat(server_proto_min, server_proto_max)
<<<<<<< HEAD
return min_supp_proto <= (server_proto_max or 24) and max_supp_proto >= (server_proto_min or 13)
=======
return not ((min_supp_proto > (server_proto_max or 24)) or (max_supp_proto < (server_proto_min or 13)))
>>>>>>> bca616493783b18b2f280d4773cb4be41d01c434
end
--------------------------------------------------------------------------------
function is_server_protocol_compat_or_error(server_proto_min, server_proto_max)