RaceController/info table now makes a copy of the boat list, to avoid race conditions.
#story[1095]
This commit is contained in:
@@ -183,10 +183,7 @@ public class VisualiserRaceState extends RaceState {
|
||||
|
||||
boat.setCurrentLeg(getLegs().get(0));
|
||||
|
||||
Platform.runLater(() -> {
|
||||
existingBoats.add(boat);
|
||||
setPlayerBoat();
|
||||
});
|
||||
existingBoats.add(boat);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user