From f20dc6512a46f7a567fc752eb653a764d9b6af3b Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 16 Nov 2018 22:46:50 +0100 Subject: Bugfixes for scoring type options --- Aktywator/Bws.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Aktywator/Bws.cs') diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs index c112158..55b83a2 100644 --- a/Aktywator/Bws.cs +++ b/Aktywator/Bws.cs @@ -528,7 +528,7 @@ namespace Aktywator int scoringType = 1; Int32.TryParse(Setting.load("ScoringType", this, errors, section, "`Section`", "`ID`"), out scoringType); - main.setScoringType(scoringType); + main.setScoringType((scoringType > 0) ? scoringType : 1); main.checkRecordsForSectionGroups(); -- cgit v1.2.3