From 272b0fcb753c0b878c215accf60a9330a355afe1 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Wed, 28 Aug 2024 07:57:57 +0300 Subject: [PATCH] Don't show "ok" ruleset validations when starting a new game --- .../src/com/unciv/models/ruleset/validation/RulesetErrorList.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/models/ruleset/validation/RulesetErrorList.kt b/core/src/com/unciv/models/ruleset/validation/RulesetErrorList.kt index 8336249090..259a9fa787 100644 --- a/core/src/com/unciv/models/ruleset/validation/RulesetErrorList.kt +++ b/core/src/com/unciv/models/ruleset/validation/RulesetErrorList.kt @@ -94,7 +94,7 @@ class RulesetErrorList( fun isWarnUser() = getFinalSeverity() >= RulesetErrorSeverity.Warning fun getErrorText(unfiltered: Boolean = false) = - getErrorText { unfiltered || it.errorSeverityToReport != RulesetErrorSeverity.WarningOptionsOnly } + getErrorText { unfiltered || it.errorSeverityToReport > RulesetErrorSeverity.WarningOptionsOnly } fun getErrorText(filter: (RulesetError)->Boolean) = filter(filter) .sortedByDescending { it.errorSeverityToReport }