Resolved #2838 - cities in resistance can no longer be traded
This commit is contained in:
parent
7bf705236c
commit
56052884f1
2 changed files with 1 additions and 5 deletions
|
@ -16,10 +16,6 @@ Buildings that are missing resources are still displayed in city constructions
|
|||
|
||||
Unit 'unbuildable' parameter converted to unique
|
||||
|
||||
By vainiovano:
|
||||
|
||||
Fix Gradle deprecation warnings
|
||||
|
||||
By alkorolyov:
|
||||
|
||||
- Spectator can view other civ stats: Tech, Trades, Cities, Units, Gold
|
||||
|
|
|
@ -41,7 +41,7 @@ class TradeLogic(val ourCivilization:CivilizationInfo, val otherCivilization: Ci
|
|||
|
||||
if (!civInfo.isOneCityChallenger() && !otherCivilization.isOneCityChallenger()
|
||||
&& !civInfo.isCityState() && !otherCivilization.isCityState()) {
|
||||
for (city in civInfo.cities.filterNot { it.isCapital() })
|
||||
for (city in civInfo.cities.filterNot { it.isCapital() || it.isInResistance() })
|
||||
offers.add(TradeOffer(city.id, TradeType.City))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue