fixing severe bug in time traveled on TrackedLegOfCompetitorImpl; the column kept counting, even after leg finishing time

This commit is contained in:
Axel Uhl committed 2015-05-20 23:34:15 +02:00
1 parent 264073a2e9
commit 378d5f48cb
1 file changed
+1 -1
@@ -104,7 +104,7 @@ public class TrackedLegOfCompetitorImpl implements TrackedLegOfCompetitor {
result = null;
} else {
final TimePoint timePointNotAfterFinishingOfLeg = getTimePointNotAfterFinishingOfLeg(timePoint);
result = timePointNotAfterFinishingOfLeg == null ? null : passedStartWaypoint.getTimePoint().until(timePoint);
result = timePointNotAfterFinishingOfLeg == null ? null : passedStartWaypoint.getTimePoint().until(timePointNotAfterFinishingOfLeg);
}
return result;
}