Add a delay before the reboot to stop 0,0,0 teleporting

This commit is contained in:
luk3yx 2018-02-24 12:47:58 +13:00
parent 569544ac7e
commit 8a738f72fb
1 changed files with 1 additions and 1 deletions

View File

@ -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