mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 22:00:24 +07:00
Fixed "don't allow era select" if the game has no techs
This commit is contained in:
@ -408,7 +408,7 @@ class GameOptionsTable(
|
||||
}
|
||||
|
||||
private fun Table.addEraSelectBox() {
|
||||
if (ruleset.technologies.isEmpty()) return // mod with no techs
|
||||
if (ruleset.eras.isEmpty()) return // mod with no techs
|
||||
val eras = ruleset.eras.keys
|
||||
addSelectBox("{Starting Era}:", eras, gameParameters.startingEra)
|
||||
{ gameParameters.startingEra = it; null }
|
||||
|
Reference in New Issue
Block a user