Skip to content

Commit

Permalink
[MIRROR] SM cascade warnings only show to players in game (#846) (#1869)
Browse files Browse the repository at this point in the history
* SM cascade warnings only show to players in game (#81343)

## About The Pull Request

Fixes tgstation/tgstation#81337

## Changelog

:cl: LT3
fix: SM cascade delam messages no longer display to clients not in game
/:cl:

* SM cascade warnings only show to players in game

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: lessthanthree <[email protected]>
  • Loading branch information
3 people authored Feb 9, 2024
1 parent 29d2eb7 commit a479e13
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"Something feels very off.",
"A drowning sense of dread washes over you.",
)
for(var/mob/victim as anything in GLOB.player_list)
to_chat(victim, span_danger(pick(messages)))
dispatch_announcement_to_players(span_danger(pick(messages)), should_play_sound = FALSE)

return TRUE

Expand Down

0 comments on commit a479e13

Please sign in to comment.