mirror of
https://github.com/derf/travelynx
synced 2024-12-02 01:09:11 +00:00
work: check arr on arr, not on dep
This commit is contained in:
parent
f0e169cbfd
commit
41cc5f3c25
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ sub run {
|
|||
arr_eva => $arr
|
||||
);
|
||||
if ( $journey->class <= 16
|
||||
and $found_dep->rt_arr->epoch - $now->epoch < 600 )
|
||||
and $found_arr->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