summaryrefslogtreecommitdiff
path: root/Aktywator/RRBTournament.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-23 17:16:00 +0200
committeremkael <emkael@tlen.pl>2017-08-23 17:16:00 +0200
commit903f2af3cabb5dfff04136a20fe375b95d629a02 (patch)
tree025539c53a97f343ae609e8ad4a5d893f50b8ff6 /Aktywator/RRBTournament.cs
parent0c84fc21f0b7af4468603b10f35da47f13910bcf (diff)
Reloading XML file before reading names
Diffstat (limited to 'Aktywator/RRBTournament.cs')
-rw-r--r--Aktywator/RRBTournament.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Aktywator/RRBTournament.cs b/Aktywator/RRBTournament.cs
index 4d5fff8..4c8f281 100644
--- a/Aktywator/RRBTournament.cs
+++ b/Aktywator/RRBTournament.cs
@@ -9,7 +9,6 @@ namespace Aktywator
class RRBTournament : Tournament
{
private XmlDocument _xml;
- private string p;
public RRBTournament(string name)
{
@@ -55,6 +54,7 @@ namespace Aktywator
override internal Dictionary<int, List<string>> getNameList()
{
+ this._xml.Load(this._name);
Dictionary<int, List<string>> names = new Dictionary<int, List<string>>();
foreach (XmlNode pair in this._xml.SelectNodes("//lista/para"))
{