summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r--Aktywator/Bws.cs2
1 files changed, 1 insertions, 1 deletions
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();