summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-29 01:31:03 +0200
committeremkael <emkael@tlen.pl>2017-08-29 01:31:03 +0200
commite2f9413e05d4565e16eff21cb3bb25f5a0b509d4 (patch)
tree660a7f543dc68c175bfafe00876ed1e41ce1731f /Aktywator
parent04f94155ebcb52f3192435d5bc86f93dcf9ca3e3 (diff)
Sometimes default value for BM2ShowPlayerNames is empty, this should parse to disabled option, too.
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/Bws.cs3
-rw-r--r--Aktywator/Resources/BuildDate.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 3906ed9..d7b5552 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -298,7 +298,8 @@ namespace Aktywator
}
}
main.xShowContract.Checked = (Setting.load("ShowContract", this, errors, section) == "0");
- main.xShowPlayerNames.Checked = (Setting.load("BM2ShowPlayerNames", this, errors, section) != "0");
+ string playerNames = Setting.load("BM2ShowPlayerNames", this, errors, section);
+ main.xShowPlayerNames.Checked = !("".Equals(playerNames) || "0".Equals(playerNames));
main.xPINcode.Text = Setting.load("BM2PINcode", this, errors, section);
int resultsOverview = 0;
int.TryParse(Setting.load("BM2ResultsOverview", this, errors, section), out resultsOverview);
diff --git a/Aktywator/Resources/BuildDate.txt b/Aktywator/Resources/BuildDate.txt
index b1e2ab1..a485840 100644
--- a/Aktywator/Resources/BuildDate.txt
+++ b/Aktywator/Resources/BuildDate.txt
@@ -1 +1 @@
-2017-08-25
+2017-08-29