From 8a738f72fbb29c2077372cc39af2a4c2c4168a99 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Sat, 24 Feb 2018 12:47:58 +1300 Subject: [PATCH] Add a delay before the reboot to stop 0,0,0 teleporting --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b96405c..7aa198e 100755 --- a/init.lua +++ b/init.lua @@ -29,7 +29,7 @@ checkReboot = function() if reboot and next(minetest.get_connected_players()) == nil then -- Time to reboot if irc then irc.say("The server is empty! Rebooting...") end - minetest.request_shutdown("Rebooting...", true, 0) + minetest.request_shutdown("Rebooting...", true, 1) end end