From d768ba93d4d78747709fbbb432130bd2bd9e454e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 12 Jan 2021 22:46:07 +0100 Subject: fix IC-D/IC-E fixup --- bin/db-zugbildung-to-json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/db-zugbildung-to-json b/bin/db-zugbildung-to-json index a19ecbd..3010ad9 100755 --- a/bin/db-zugbildung-to-json +++ b/bin/db-zugbildung-to-json @@ -449,7 +449,8 @@ for my $line (@lines) { } } elsif ( $number and $line =~ m{^\d*\s+[AB][pv]m} ) { - if ( $map{$number}{type} eq 'IC2' or $map{$number}{type} eq 'IC2 KISS' ) + if ( $map{$number}{type} eq 'IC2 Twindexx' + or $map{$number}{type} eq 'IC2 KISS' ) { # Zugbildungsplan go home, you're drunk. Wagons of IC2 double decker # trains must start with D (indicating that they double decker -- cgit v1.2.3