Fixed small display error with current position. #story[1311]

This commit is contained in:
zwu18
2017-09-19 21:55:38 +12:00
parent 051811b97d
commit 4132b6733b
@@ -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) {