diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 10:19:39 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 10:19:39 +0100 | 
| commit | 6c83c9e5ef251847f9e57401dd0f13bfe068b6e4 (patch) | |
| tree | 5cc50f901ca04e1a2ed32cca8387c7c427e312ba /lib | |
| parent | a087ad571d40e90baf1dfbfe6393fa4bb5f057d1 (diff) | |
add IC2 wagon images
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/DBInfoscreen.pm | 6 | 
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;  			} | 
