diff options
author | emkael <emkael@tlen.pl> | 2017-07-30 03:37:50 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-07-30 03:37:50 +0200 |
commit | a8861edf16f737bab55748f4041805b43b2d1408 (patch) | |
tree | b607f614fa1c32f9bff46ac13dc0b74c39981cda | |
parent | 6c056322e96ab0ebbf52c3f35ec8b0a51f1b5f8d (diff) |
Making sure correct Tournament type is set in MySQLTournament subclasses
-rw-r--r-- | Aktywator/ParyTournament.cs | 1 | ||||
-rw-r--r-- | Aktywator/TeamyTournament.cs | 1 |
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() |