mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
Fixed a bug where open borders, war delcarations and cities could not be traded (#6097)
This commit is contained in:
parent
3c30a5697f
commit
ff2fc02961
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user