mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-04 22:50:50 +07:00
Solved "Free tech but all techs already researched" problem
This commit is contained in:
parent
5473afbecf
commit
0f351ad964
@ -186,7 +186,7 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, switchfromWorldSc
|
||||
|
||||
|
||||
private fun selectTechnologyForFreeTech(tech: Technology) {
|
||||
if (researchableTechs.contains(tech.name)&&!civTech.isResearched(tech.name)) {
|
||||
if (researchableTechs.contains(tech.name)&& (!civTech.isResearched(tech.name) || tech.name==Constants.futureTech)) {
|
||||
pick("Pick [${selectedTech!!.name}] as free tech".tr())
|
||||
} else {
|
||||
rightSideButton.setText("Pick a free tech".tr())
|
||||
|
Loading…
Reference in New Issue
Block a user