Skip to content

Commit

Permalink
fix: no, don't force dividing points into cancelled stops
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat authored Jul 11, 2024
1 parent 5b5ca0d commit a341bbc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/AmeyLiveTrainAnnouncements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ function getCancelledCallingPoints(
): CallingAtPoint[] {
const callingPoints = train.subsequentLocations.filter(s => {
if (!s.crs) return false
// Force the calling point if the train divides here
if (s.associations?.filter(a => a.category === AssociationCategory.Divide).length) return true
if (!s.isCancelled || s.isOperational || s.isPass) return false
if (!stations.includes(s.crs)) return false
// Ignore pick-up only
Expand Down

0 comments on commit a341bbc

Please sign in to comment.