Skip to content

Commit

Permalink
Added a cross-server comms cooldown failure message (#2652)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pockets-byte authored Aug 16, 2024
1 parent c428037 commit 81024f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/machinery/computer/communications.dm
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
if (!can_send_messages_to_other_sectors(usr))
return
if (!COOLDOWN_FINISHED(src, important_action_cooldown))
to_chat(usr, "<span class='alert'>Please stand by, transmitter in cooldown cycle</span>")
return

var/message = trim(html_encode(params["message"]), MAX_MESSAGE_LEN)
Expand Down

0 comments on commit 81024f6

Please sign in to comment.