summaryrefslogtreecommitdiff
path: root/Aktywator/TeamyTournament.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-11-18 19:49:37 +0100
committeremkael <emkael@tlen.pl>2017-11-18 19:49:37 +0100
commit8cda79bab92e0b6cf06a6b270662e13ea6a7ad30 (patch)
tree962051456e54a9153c92663540452fb3d9b1f17d /Aktywator/TeamyTournament.cs
parentc11772fd05c82af11645bff5059ce70545e86e0c (diff)
Revised tournament database detection.
Fixes #25.
Diffstat (limited to 'Aktywator/TeamyTournament.cs')
-rw-r--r--Aktywator/TeamyTournament.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Aktywator/TeamyTournament.cs b/Aktywator/TeamyTournament.cs
index 7fb4f1c..8da063d 100644
--- a/Aktywator/TeamyTournament.cs
+++ b/Aktywator/TeamyTournament.cs
@@ -7,8 +7,8 @@ namespace Aktywator
{
class TeamyTournament : MySQLTournament
{
- public TeamyTournament(string name)
- : base(name)
+ public TeamyTournament(string name, int type = Tournament.TYPE_TEAMY)
+ : base(name, type)
{
this._type = Tournament.TYPE_TEAMY;
}