fix that researched tech can be picked when we pick a free tech
This commit is contained in:
parent
a50400e4db
commit
b31c6f3ec7
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, centerOnTech: Tec
|
|||
|
||||
|
||||
private fun selectTechnologyForFreeTech(tech: Technology) {
|
||||
if (researchableTechs.contains(tech.name)) {
|
||||
if (researchableTechs.contains(tech.name)&&!civTech.isResearched(tech.name)) {
|
||||
pick("Pick [${selectedTech!!.name}] as free tech".tr())
|
||||
} else {
|
||||
rightSideButton.setText("Pick a free tech".tr())
|
||||
|
|
Loading…
Reference in a new issue