diff --git a/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt b/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt index 0b9f7af6d7..72185c08c1 100644 --- a/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt +++ b/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt @@ -235,7 +235,16 @@ object NextTurnAutomation { val valueOfOne = evaluation.evaluateSellCost(TradeOffer(ourGold.name, ourGold.type, 1, ourGold.duration), civInfo, otherCiv) val amountToGive = min(deltaInOurFavor / valueOfOne, ourGold.amount) deltaInOurFavor -= amountToGive * valueOfOne - counterofferGifts.add(TradeOffer(ourGold.name, ourGold.type, amountToGive, ourGold.duration)) + if (amountToGive > 0) { + counterofferGifts.add( + TradeOffer( + ourGold.name, + ourGold.type, + amountToGive, + ourGold.duration + ) + ) + } } } }