From 698b7db2555ae2d972dc62d93c7db135a786f598 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Wed, 3 Jul 2024 15:09:34 +0300 Subject: [PATCH] Added missing deprecation validation for unit uniques --- .../src/com/unciv/models/ruleset/validation/RulesetValidator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/models/ruleset/validation/RulesetValidator.kt b/core/src/com/unciv/models/ruleset/validation/RulesetValidator.kt index 53866b7351..840d4a422b 100644 --- a/core/src/com/unciv/models/ruleset/validation/RulesetValidator.kt +++ b/core/src/com/unciv/models/ruleset/validation/RulesetValidator.kt @@ -548,7 +548,7 @@ class RulesetValidator(val ruleset: Ruleset) { for (unit in ruleset.units.values) { checkUnitRulesetInvariant(unit, lines) checkUnitRulesetSpecific(unit, lines) - uniqueValidator.checkUniques(unit, lines, false, tryFixUnknownUniques) + uniqueValidator.checkUniques(unit, lines, true, tryFixUnknownUniques) } }