mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
# abort in previous pass
This commit is contained in:
1 parent
c35ecfd267
commit
aaa6d8c3b2
1 file changed
+3
+3
@@ -164,6 +164,9 @@ public class RaceStateImpl implements RaceState, RaceLogChangedListener {
|
||||
|
||||
@Override
|
||||
public void onRaceAborted(TimePoint eventTime) {
|
||||
RaceLogEvent abortEvent = RaceLogEventFactory.INSTANCE.createRaceStatusEvent(eventTime, raceLog.getCurrentPassId(), RaceLogRaceStatus.UNSCHEDULED);
|
||||
this.raceLog.add(abortEvent);
|
||||
|
||||
RaceLogEvent passChangeEvent = RaceLogEventFactory.INSTANCE.createPassChangeEvent(eventTime, raceLog.getCurrentPassId() + 1);
|
||||
this.raceLog.add(passChangeEvent);
|
||||
|
||||
|
||||
Reference in new issue
Block a user