Skip to content

Commit

Permalink
Bug fix for https://bugs.launchpad.net/or/+bug/2002183 OK to proceed …
Browse files Browse the repository at this point in the history
…sound played wrongly
  • Loading branch information
Csantucci committed Jan 6, 2023
1 parent fd24982 commit 083467b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Orts.Simulation/Simulation/Activity.cs
Expand Up @@ -1007,7 +1007,7 @@ public override void NotifyEvent(ActivityEventType EventType)
{
maydepart = true;
DisplayMessage = Simulator.Catalog.GetString("Passenger boarding completed. You may depart now.");
Simulator.SoundNotify = Event.PermissionToDepart;
if (MyPlayerTrain.IsActualPlayerTrain) Simulator.SoundNotify = Event.PermissionToDepart;
}

ldbfevaldepartbeforeboarding = false;//reset flag. Debrief Eval
Expand Down

0 comments on commit 083467b

Please sign in to comment.