diff --git a/core/src/com/unciv/logic/civilization/DiplomacyManager.kt b/core/src/com/unciv/logic/civilization/DiplomacyManager.kt index e32da6fe16..84d83582fb 100644 --- a/core/src/com/unciv/logic/civilization/DiplomacyManager.kt +++ b/core/src/com/unciv/logic/civilization/DiplomacyManager.kt @@ -36,7 +36,7 @@ class DiplomacyManager() { fun turnsToPeaceTreaty(): Int { for(trade in trades) for(offer in trade.ourOffers) - if(offer.name=="Peace Treaty") return offer.duration + if(offer.name=="Peace Treaty" && offer.duration > 0) return offer.duration return 0 }