mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 09:41:00 +00:00
Merge remote-tracking branch 'server/master'
This commit is contained in:
commit
8821c009ed
23 files changed
+1136
-342
No files matched your search
+4
-1
@@ -205,9 +205,12 @@ public class MockedTrackedRace implements DynamicTrackedRace {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recordWind(Wind wind, WindSource windSource) {
|
||||
public boolean recordWind(Wind wind, WindSource windSource) {
|
||||
if (windSource.getType() == WindSourceType.EXPEDITION) {
|
||||
windTrack.add(wind);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user