|
|
|
|
@ -648,7 +648,7 @@ public class RaceViewController extends Controller {
|
|
|
|
|
gauge.setValue(raceState.getBoat(raceState.getPlayerBoatID()).getCurrentSpeed());
|
|
|
|
|
for (VisualiserBoat boat : boatInfoTable.getItems()){
|
|
|
|
|
if(raceState.getPlayerBoatID()==boat.getSourceID()){
|
|
|
|
|
gauge.setTitle("Position: " + boatInfoTable.getItems().indexOf(boat)+1);
|
|
|
|
|
gauge.setTitle("Position: " + (boatInfoTable.getItems().indexOf(boat)+1));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (BoatNotFoundException e) {
|
|
|
|
|
|