Allow games with zero researched techs to be 'before' the Ancient Era (#10309)

This commit is contained in:
SomeTroglodyte
2023-10-12 19:38:36 +02:00
committed by GitHub
parent 353a2c8153
commit 249241247b

View File

@ -182,7 +182,7 @@ class TechPickerScreen(
if (rowIndex == 0)
table.padTop(7f)
if (erasNamesToColumns[civTech.era.name]!!.contains(columnIndex))
if (erasNamesToColumns[civTech.era.name]?.contains(columnIndex) == true)
table.background = skinStrings.getUiBackground("TechPickerScreen/Background", tintColor = queuedTechColor.darken(0.5f))
if (tech == null) {