mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-28 08:30:31 +07:00
Allow Deciv Redux start with >0 City States (#5348)
This commit is contained in:
parent
070c41592f
commit
8ee36d43d7
@ -49,7 +49,7 @@ class CityStateFunctions(val civInfo: CivilizationInfo) {
|
||||
// Mercantile bonus resources
|
||||
if (allPossibleBonuses.any { it.isOfType(UniqueType.CityStateUniqueLuxury) }
|
||||
|| (fallback && cityStateType == CityStateType.Mercantile)) { // Fallback for badly defined Eras.json
|
||||
civInfo.cityStateResource = allMercantileResources.random()
|
||||
civInfo.cityStateResource = allMercantileResources.randomOrNull()
|
||||
}
|
||||
|
||||
// Unique unit for militaristic city-states
|
||||
|
Loading…
Reference in New Issue
Block a user