summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-11-16 22:46:50 +0100
committeremkael <emkael@tlen.pl>2018-11-16 22:46:50 +0100
commitf20dc6512a46f7a567fc752eb653a764d9b6af3b (patch)
treeb02a215b3eda1bc1addedb47aea736b2706264ac /Aktywator/Bws.cs
parent8c1d77e431d969ab9fb6e81a07ae8da631a9beb0 (diff)
Bugfixes for scoring type options
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();