diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-03-23 04:35:11 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-03-23 04:35:11 +0100 |
commit | e8edff1ae1bc0d8c45b793cb8ae7a0a4ba5e8905 (patch) | |
tree | 41b53b285c837011a577ef50b8ee1b5965009341 /lib/Travel | |
parent | e7e846a43156dae0a617e345bd136a7cbf0f2348 (diff) |
polyline: Add stop reference rather than just name and eva
Diffstat (limited to 'lib/Travel')
-rw-r--r-- | lib/Travel/Status/DE/DBRIS/Journey.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Travel/Status/DE/DBRIS/Journey.pm b/lib/Travel/Status/DE/DBRIS/Journey.pm index ba19337..d993b88 100644 --- a/lib/Travel/Status/DE/DBRIS/Journey.pm +++ b/lib/Travel/Status/DE/DBRIS/Journey.pm @@ -85,10 +85,8 @@ sub polyline { } for my $stop ( $self->route ) { if ( $min_dist{ $stop->{eva} } ) { - $polyline->[ $min_dist{ $stop->{eva} }{index} ]{name} - = $stop->{name}; - $polyline->[ $min_dist{ $stop->{eva} }{index} ]{eva} - = $stop->{eva}; + $polyline->[ $min_dist{ $stop->{eva} }{index} ]{stop} + = $stop; } } } |