mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-21 11:40:01 +00:00
recordWind() updates trackedRace newestEvent now with timepoint of windfix, not with null
This commit is contained in:
1 parent
82a1ab7fbe
commit
d4475fa71e
1 file changed
+1
-1
+1
-1
@@ -678,7 +678,7 @@ DynamicTrackedRace, GPSTrackListener<Competitor, GPSFixMoving> {
|
||||
final boolean result;
|
||||
if (takesWindFixWithTimePoint(wind.getTimePoint())) {
|
||||
result = getOrCreateWindTrack(windSource).add(wind);
|
||||
updated(/* time point */null); // wind events shouldn't advance race time
|
||||
updated(wind.getTimePoint());
|
||||
triggerManeuverCacheRecalculationForAllCompetitors();
|
||||
notifyListeners(wind, windSource);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user