} (0..5);
my $lap_max = $laps[$new_order[0]];
- if (defined $lap_max && $lap_max != $self->{round}
+ if (defined $lap_max && $self->{round} && $lap_max != $self->{round}
&& (!$self->{race_rounds}
|| $lap_max <= $self->{race_rounds})) {
$self->{round} = $lap_max;