From a1a74a2072205decdc0ec257e469d3870eb0c991 Mon Sep 17 00:00:00 2001 From: Nicu Date: Wed, 22 May 2024 05:23:43 +0000 Subject: [PATCH] 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 Co-authored-by: Nicu Co-committed-by: Nicu --- mods/CORE/mcl_init/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/CORE/mcl_init/init.lua b/mods/CORE/mcl_init/init.lua index b97e2a97d..289c988f0 100644 --- a/mods/CORE/mcl_init/init.lua +++ b/mods/CORE/mcl_init/init.lua @@ -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