summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-05 17:15:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-05 17:15:24 +0100
commit13e307081e3ee411353ef9248b8b0b8d523a0d6c (patch)
tree99ca2f8d56ff404f7b02013d5ade217b38c6aa76 /lib/DBInfoscreen/Controller
parentea6d13144c105e7ae04fb2baed0189b8ecda9bdb (diff)
actually add Marudor.pm. Oops.3.5.0
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index a09a1df..90478a4 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -479,6 +479,10 @@ sub render_train {
return;
}
)->wait;
+
+ # Looks like utilization data is only available for long-distance trains
+ # – and the few regional trains which also have wagon order data (e.g.
+ # around Stuttgart). Funky.
$self->marudor->get_train_utilization( train => $result )->then(
sub {
my ( $first, $second ) = @_;