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: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/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

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