From 10aea4984b4a97ad8c6a81a49c628ed56e044530 Mon Sep 17 00:00:00 2001 From: SFENCE Date: Fri, 29 Mar 2024 20:28:37 +0100 Subject: [PATCH] Rename test command. --- games/devtest/mods/util_commands/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/games/devtest/mods/util_commands/init.lua b/games/devtest/mods/util_commands/init.lua index 36fa3e34c..285d8e3c3 100644 --- a/games/devtest/mods/util_commands/init.lua +++ b/games/devtest/mods/util_commands/init.lua @@ -242,10 +242,10 @@ core.register_chatcommand("set_saturation", { end }) -core.register_chatcommand("reboot_with_rejoin", { +core.register_chatcommand("shutdown_with_reconnect", { params = "", - description = "Imidiately reboot server with reconnect request.", + description = "Shutdown server with reconnect request.", func = function(player_name, param) - minetest.request_shutdown("Rebooting with reconnect.", true, 5) + minetest.request_shutdown("Shutdown with reconnect.", true, 5) end })