Commit 1bfa7775 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

IRIS: shave off some additional miliseconds

parent d386bd79
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -354,7 +354,9 @@ sub get_realtime {

		my $result = $self->{departure_by_id}{$id};

		if ( not $result ) {
		# add_result will return nothing if no ./tl node is present. The ./tl
		# check here is for optimization purposes.
		if ( not $result and ( $s->findnodes('./tl') )[0] ) {
			$result = $self->add_result( $station, $s );
			if ($result) {
				$result->set_unscheduled(1);