summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-26 10:19:39 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-26 10:19:39 +0100
commit6c83c9e5ef251847f9e57401dd0f13bfe068b6e4 (patch)
tree5cc50f901ca04e1a2ed32cca8387c7c427e312ba /lib/DBInfoscreen.pm
parenta087ad571d40e90baf1dfbfe6393fa4bb5f057d1 (diff)
add IC2 wagon images
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;
}