The Future Tech can't be picked as a free technology until requirements are met (#1967)
This commit is contained in:
parent
8f757e9ab4
commit
094f72dd26
1 changed files with 2 additions and 1 deletions
|
@ -227,7 +227,8 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, centerOnTech: Tec
|
|||
|
||||
|
||||
private fun selectTechnologyForFreeTech(tech: Technology) {
|
||||
if (researchableTechs.contains(tech.name) || tech.name==Constants.futureTech) {
|
||||
if (researchableTechs.contains(tech.name) ||
|
||||
(tech.name==Constants.futureTech && civTech.canBeResearched(tech.name))) {
|
||||
pick("Pick [${selectedTech!!.name}] as free tech".tr())
|
||||
} else {
|
||||
rightSideButton.setText("Pick a free tech".tr())
|
||||
|
|
Loading…
Reference in a new issue