Add the world seed to the startup logging (#4295)

In multiplayer, only the server logs this information - the client has no access to it.

Reviewed-on: VoxeLibre/VoxeLibre#4295
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Nicu <kneekoo@noreply.git.minetest.land>
Co-committed-by: Nicu <kneekoo@noreply.git.minetest.land>
This commit is contained in:
Nicu 2024-05-22 05:23:43 +00:00 committed by the-real-herowl
parent cd66dc28a4
commit a1a74a2072
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
-- Some global variables (don't overwrite them!)
mcl_vars = {}
minetest.log("action", "World seed = " .. minetest.get_mapgen_setting("seed"))
mcl_vars.redstone_tick = 0.1
-- GUI / inventory menu settings