When selecting a single tech to work on, no longer shows number (0)
Numbers of techs humanized - starts from 1, not 0
This commit is contained in:
parent
43ba1cf0d0
commit
5253474ba4
2 changed files with 6 additions and 3 deletions
|
@ -129,7 +129,10 @@ public class TileInfo
|
|||
else if(improvementInProgress.equals("Railroad")) roadStatus = RoadStatus.Railroad;
|
||||
else improvement = improvementInProgress;
|
||||
|
||||
CivilizationInfo.current().notifications.add(improvementInProgress+" has been completed!");
|
||||
String notification = improvementInProgress+" has been completed";
|
||||
if(workingCity!=null) notification+=" for "+getCity().name;
|
||||
notification+="!";
|
||||
CivilizationInfo.current().notifications.add(notification);
|
||||
improvementInProgress = null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,8 +98,8 @@ public class TechPickerScreen extends PickerScreen {
|
|||
TB.setColor(TB.getColor().lerp(Color.LIGHT_GRAY, 0.5f));
|
||||
}
|
||||
}
|
||||
if (techsToResearch.contains(techName)) {
|
||||
text.append(" (").append(techsToResearch.indexOf(techName)).append(")");
|
||||
if (techsToResearch.contains(techName) && techsToResearch.size()>1) {
|
||||
text.append(" (").append(techsToResearch.indexOf(techName)+1).append(")");
|
||||
}
|
||||
|
||||
if(!civTech.isResearched(techName)) text.append("\r\n"+game.civInfo.turnsToTech(techName) + " turns");
|
||||
|
|
Loading…
Reference in a new issue