City-States don't trigger defensive pacts (#10221)

This commit is contained in:
Oskar Niesen 2023-10-03 04:11:13 -05:00 committed by GitHub
parent ccddf1e018
commit b16cbc1b0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -744,7 +744,7 @@ class DiplomacyManager() : IsPartOfGameInfoSerialization {
diplomaticStatus = DiplomaticStatus.War
if (civInfo.isMajorCiv()) {
if (!isOffensiveWar) callInDefensivePactAllies()
if (!isOffensiveWar && !civAtWarWith.isCityState()) callInDefensivePactAllies()
callInCityStateAllies()
}