From ff2fc02961dac56116fb4866a903473547649933 Mon Sep 17 00:00:00 2001 From: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Date: Wed, 2 Feb 2022 06:23:11 +0100 Subject: [PATCH] Fixed a bug where open borders, war delcarations and cities could not be traded (#6097) --- core/src/com/unciv/logic/trade/TradeOffer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/trade/TradeOffer.kt b/core/src/com/unciv/logic/trade/TradeOffer.kt index a2ff854209..8f908fa37e 100644 --- a/core/src/com/unciv/logic/trade/TradeOffer.kt +++ b/core/src/com/unciv/logic/trade/TradeOffer.kt @@ -12,7 +12,7 @@ data class TradeOffer(val name: String, val type: TradeType, var amount: Int = 1 constructor( name: String, type: TradeType, - amount: Int = -1, + amount: Int = 1, gameSpeed: GameSpeed = UncivGame.Current.gameInfo.gameParameters.gameSpeed ) : this(name, type, amount, duration = -1) { duration = when {