make sense of maintainence messages instead of being the same line over and over

This commit is contained in:
Jordach 2017-11-28 21:16:37 +00:00
parent b9036a6160
commit 728f0b2171

View File

@ -69,10 +69,12 @@ local function check_for_players()
is_shutting_down = false
minetest.cancel_shutdown_requests()
print("[Maintainence]: Player joined the server during shutdown, aborting shutdown.")
end
print("[Maintainence]: Server will not reboot until a player joins and leaves first.")
print("[Maintainence]: Players active on server, shutdown delayed by 2 minutes.")
elseif players_joined == 0 then