diff --git a/core/src/com/unciv/logic/map/MapUnit.kt b/core/src/com/unciv/logic/map/MapUnit.kt index 9b4aedfbd7..bde7da410a 100644 --- a/core/src/com/unciv/logic/map/MapUnit.kt +++ b/core/src/com/unciv/logic/map/MapUnit.kt @@ -527,7 +527,7 @@ class MapUnit { goldCostOfUpgrade *= (1 - unique.params[1].toFloat() / 100f) } // - for (unique in civInfo.getMatchingUniques(UniqueType.UnitUpgradeCost)) + for (unique in civInfo.getMatchingUniques(UniqueType.UnitUpgradeCost, StateForConditionals(civInfo, unit=this))) goldCostOfUpgrade *= unique.params[0].toPercent() if (goldCostOfUpgrade < 0) return 0 // For instance, Landsknecht costs less than Spearman, so upgrading would cost negative gold