summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index 915b9fd..52b1383 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -182,6 +182,9 @@ sub startup {
{
$ret = $wagon_type;
}
+ elsif ( $train_type =~ m{IC2 Twindexx} ) {
+ $ret = $wagon_type;
+ }
elsif ( not $uic ) {
return;
}
@@ -205,6 +208,9 @@ sub startup {
{
$ret = substr( $uic, 5, 4 );
}
+ elsif ( $train_type =~ m{IC2 KISS} ) {
+ $ret = substr( $uic, 5, 4 );
+ }
if ( $ret and $self->app->dbdb_wagon->{$ret} ) {
return $ret;
}