Fix infinite city-state tribute bug (#7653)

This commit is contained in:
OptimizedForDensity
2022-08-13 15:43:25 -04:00
committed by GitHub
parent 9326f47cdf
commit 9967642573

View File

@ -352,7 +352,7 @@ class CityStateFunctions(val civInfo: CivilizationInfo) {
val recentBullying = civInfo.getRecentBullyingCountdown()
if (recentBullying != null && recentBullying > 10)
modifiers["Very recently paid tribute"] = -300
else if (recentBullying != null)
else if (recentBullying != null && recentBullying > 0)
modifiers["Recently paid tribute"] = -40
if (civInfo.getDiplomacyManager(demandingCiv).getInfluence() < -30)
modifiers["Influence below -30"] = -300