1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add min/max protocol version to minetest.get_version() (#13482)

This commit is contained in:
Buckaroo Banzai 2023-05-06 17:16:21 +02:00 committed by GitHub
parent bc4fc6d648
commit 65692ad1b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 0 deletions

View file

@ -5159,6 +5159,8 @@ Utilities
engine version. Components:
* `project`: Name of the project, eg, "Minetest"
* `string`: Simple version, eg, "1.2.3-dev"
* `proto_min`: The minimum supported protocol version
* `proto_max`: The maximum supported protocol version
* `hash`: Full git version (only set if available),
eg, "1.2.3-dev-01234567-dirty".
* `is_dev`: Boolean value indicating whether it's a development build