Fixed merge bug, and an unrelated null pointer exception.
This commit is contained in:
@@ -121,6 +121,7 @@ public class MockRace extends RaceState {
|
||||
//Construct a MockBoat using the Boat and Polars.
|
||||
MockBoat mockBoat = new MockBoat(boat, polars);
|
||||
mockBoat.setCurrentLeg(this.getLegs().get(0));
|
||||
mockBoat.setEstimatedTimeAtNextMark(this.getRaceClock().getCurrentTime());
|
||||
|
||||
//Update participant list.
|
||||
getRaceDataSource().getParticipants().add(sourceID);
|
||||
|
||||
Reference in New Issue
Block a user