mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
fixing severe bug in time traveled on TrackedLegOfCompetitorImpl; the column kept counting, even after leg finishing time
This commit is contained in:
1 parent
264073a2e9
commit
378d5f48cb
1 file changed
+1
-1
+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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user