From 82742007f5f4a5ce8b86394618f7c686ba81f00f Mon Sep 17 00:00:00 2001 From: LordME <58342752+TheLordME@users.noreply.github.com> Date: Tue, 19 Nov 2024 13:13:12 +0100 Subject: [PATCH] only send delay message once --- code/controllers/subsystem/ticker.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm index a997765b4bd5..a704fa5e1591 100644 --- a/code/controllers/subsystem/ticker.dm +++ b/code/controllers/subsystem/ticker.dm @@ -58,6 +58,7 @@ SUBSYSTEM_DEF(ticker) var/triai = 0//Global holder for Triumvirate + var/delay_explained = FALSE var/round_end_announced = 0 // Spam Prevention. Announce round end only once. //station_explosion used to be a variable for every mob's hud. Which was a waste! @@ -164,7 +165,9 @@ SUBSYSTEM_DEF(ticker) return ready /datum/controller/subsystem/ticker/proc/handle_no_players_ready() - to_chat(world, SPAN_ANNOUNCE("No Players are ready to play, delaying round start.")) + if(!delay_explained) + to_chat(world, SPAN_ANNOUNCE("No Players are ready to play, delaying round start.")) + delay_explained = TRUE start_at = world.time + 1 MINUTE timeLeft = max(0,start_at - world.time)