summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-03-23 18:47:21 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-03-23 18:47:21 +0100
commita3c628d1642d35bb1b46b3e372dfb1fcca4b8e15 (patch)
tree4ae6c404b1671b207a5061009efcfc2e6f29ed25 /lib/Travelynx.pm
parent33d63fe53ca898c1132279ce44d6a10d0b10340a (diff)
DBRIS: Add load/occupancy data
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 98ba4aa..cdfc84c 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -419,6 +419,14 @@ sub startup {
my $first = $load->{FIRST} // 0;
my $second = $load->{SECOND} // 0;
+ # DBRIS
+ if ( $first == 99 ) {
+ $first = 4;
+ }
+ if ( $second == 99 ) {
+ $second = 4;
+ }
+
my @symbols
= (
qw(help_outline person_outline people priority_high not_interested)