# abort in previous pass

This commit is contained in:
Lukas Niemeier committed 2013-04-25 01:05:15 +02:00
1 parent c35ecfd267
commit aaa6d8c3b2
1 file changed
+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);