mirror of
https://github.com/derf/travelynx
synced 2024-11-10 06:54:17 +00:00
work: fix HAFAS arrival wagonorder/stationinfo request logic
This commit is contained in:
parent
918ed6ab1f
commit
5a72c60307
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ sub run {
|
|||
arr_eva => $arr
|
||||
);
|
||||
if ( $journey->class <= 16
|
||||
and $now->epoch - $found_dep->rt_arr->epoch > 600 )
|
||||
and $found_dep->rt_arr->epoch - $now->epoch < 600 )
|
||||
{
|
||||
$self->app->add_wagonorder( $uid, 0, $train_id,
|
||||
$found_dep->sched_dep, $journey->number );
|
||||
|
|
Loading…
Reference in a new issue