Skip to content

Commit

Permalink
only send delay message once
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLordME committed Nov 19, 2024
1 parent e96d430 commit 8274200
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 8274200

Please sign in to comment.