allow force checkouts even in case of route mismatches

This commit is contained in:
Birte Kristina Friesel 2024-06-06 17:57:15 +02:00
parent c3a43725d4
commit 40cbfd62df
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -1080,7 +1080,7 @@ sub startup {
last; last;
} }
} }
if ( not $found ) { if ( not $found and not $force ) {
return $promise->resolve( 1, 'station not found in route' ); return $promise->resolve( 1, 'station not found in route' );
} }