Skip to content

Commit

Permalink
Enable crowding audio at Back Bay platform for 12-11 demo (#726)
Browse files Browse the repository at this point in the history
* Enable crowding audio at Back Bay platform for 12-11 demo

* Fix typo
  • Loading branch information
PaulJKim authored Dec 14, 2023
1 parent 0240a44 commit cf8553a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/signs/utilities/audio.ex
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ defmodule Signs.Utilities.Audio do
# Disable crowding messages for now
new_audios =
Enum.map(new_audios, fn %{__struct__: audio_type} = audio ->
if audio_type in [Audio.Approaching, Audio.TrainIsArriving] and sign.id not in [] do
if audio_type in [Audio.Approaching, Audio.TrainIsArriving] and
sign.id not in ["back_bay_northbound", "back_bay_southbound"] do
%{audio | crowding_description: nil}
else
audio
Expand Down

0 comments on commit cf8553a

Please sign in to comment.