summaryrefslogtreecommitdiff
path: root/Aktywator
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
parent8c1d77e431d969ab9fb6e81a07ae8da631a9beb0 (diff)
Bugfixes for scoring type options
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/Bws.cs2
-rw-r--r--Aktywator/MainForm.cs4
-rw-r--r--Aktywator/Resources/BuildDate.txt2
3 files changed, 4 insertions, 4 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();
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 0f456ea..aad3170 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -38,8 +38,8 @@ namespace Aktywator
if (!MySQL.getConfigured()) (new MysqlSettings()).ShowDialog();
this._scoringType = new Dictionary<RadioButton, int>();
this._scoringType.Add(this.rbMatchpoints, 1);
- this._scoringType.Add(this.rbIMPCavendish, 2);
- this._scoringType.Add(this.rbIMPButler, 3);
+ this._scoringType.Add(this.rbIMPButler, 2);
+ this._scoringType.Add(this.rbIMPCavendish, 3);
this._scoringType.Add(this.rbIMPTeams, 4);
}
diff --git a/Aktywator/Resources/BuildDate.txt b/Aktywator/Resources/BuildDate.txt
index b17142d..ee6b425 100644
--- a/Aktywator/Resources/BuildDate.txt
+++ b/Aktywator/Resources/BuildDate.txt
@@ -1 +1 @@
-2018-10-24
+2018-11-16