Skip to content

Commit

Permalink
SM cascade warnings only show to players in game (tgstation#81343)
Browse files Browse the repository at this point in the history
## About The Pull Request

Fixes tgstation#81337

## Changelog

:cl: LT3
fix: SM cascade delam messages no longer display to clients not in game
/:cl:
  • Loading branch information
lessthnthree authored Feb 8, 2024
1 parent 6b8f156 commit 9fa20d9
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 9fa20d9

Please sign in to comment.