summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-07-30 03:37:50 +0200
committeremkael <emkael@tlen.pl>2017-07-30 03:37:50 +0200
commita8861edf16f737bab55748f4041805b43b2d1408 (patch)
treeb607f614fa1c32f9bff46ac13dc0b74c39981cda /Aktywator
parent6c056322e96ab0ebbf52c3f35ec8b0a51f1b5f8d (diff)
Making sure correct Tournament type is set in MySQLTournament subclasses
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/ParyTournament.cs1
-rw-r--r--Aktywator/TeamyTournament.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/Aktywator/ParyTournament.cs b/Aktywator/ParyTournament.cs
index a5d9ff2..9a592d7 100644
--- a/Aktywator/ParyTournament.cs
+++ b/Aktywator/ParyTournament.cs
@@ -10,6 +10,7 @@ namespace Aktywator
public ParyTournament(string name)
: base(name)
{
+ this._type = Tournament.TYPE_PARY;
}
override internal string getTypeLabel()
diff --git a/Aktywator/TeamyTournament.cs b/Aktywator/TeamyTournament.cs
index 3b83c8b..7bc3496 100644
--- a/Aktywator/TeamyTournament.cs
+++ b/Aktywator/TeamyTournament.cs
@@ -10,6 +10,7 @@ namespace Aktywator
public TeamyTournament(string name)
: base(name)
{
+ this._type = Tournament.TYPE_TEAMY;
}
override internal string getTypeLabel()