prevent city states from taunting you (#5409)

This commit is contained in:
SimonCeder
2021-10-06 16:09:20 +02:00
committed by GitHub
parent 7752e1834d
commit e4ff3d43d6

View File

@ -525,6 +525,7 @@ class CityStateFunctions(val civInfo: CivilizationInfo) {
/** A city state was attacked. What are its protectors going to do about it??? Also checks for Wary */
fun cityStateAttacked(attacker: CivilizationInfo) {
if (!civInfo.isCityState()) return // What are we doing here?
if (attacker.isCityState()) return // City states can't be upset with each other
// We might become wary!
if (attacker.isMinorCivWarmonger()) { // They've attacked a lot of city-states