Should now be able to create tech trees with over 10 rows

This commit is contained in:
Yair Morgenstern 2021-02-20 23:10:37 +02:00
parent 40a59782d0
commit 737dcea4dc

View File

@ -116,7 +116,7 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, centerOnTech: Tec
techTable.add(era.toLabel().addBorder(2f, color)).fill().colspan(columnSpan)
}
for (rowIndex in 0..9) {
for (rowIndex in 0..rows-1) {
techTable.row().pad(5f).padRight(40f)
for (columnIndex in techMatrix.indices) {