From 8896bb2b405eee48df7f9e58c231d0680d6d05f1 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 3 Jul 2025 18:01:10 +0200 Subject: Journey-based checkins: store platforms with route; set arrival platform from it Closes #269 --- lib/Travelynx.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/Travelynx.pm') diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index c8c96b8..78642ff 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1615,6 +1615,13 @@ sub startup { rt_arrival => ( $stop->[2]{rt_arr} || $stop->[2]{sched_arr} ) ); + if ($stop->[2]{platform}) { + $self->in_transit->set_arrival_platform( + uid => $uid, + db => $db, + arrival_platform => $stop->[2]{platform} + ); + } if ( $now > ( $stop->[2]{rt_arr} || $stop->[2]{sched_arr} ) ) { -- cgit v1.2.3