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 +- Aktywator/MainForm.cs | 4 ++-- Aktywator/Resources/BuildDate.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Aktywator') 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(); 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 -- cgit v1.2.3