Fixed small display error with current position. #story[1311]
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user