summaryrefslogtreecommitdiff
path: root/Aktywator/TeamyTournament.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/TeamyTournament.cs')
-rw-r--r--Aktywator/TeamyTournament.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Aktywator/TeamyTournament.cs b/Aktywator/TeamyTournament.cs
index 8da063d..01034b5 100644
--- a/Aktywator/TeamyTournament.cs
+++ b/Aktywator/TeamyTournament.cs
@@ -91,5 +91,14 @@ namespace Aktywator
finished.Close();
return segment;
}
+
+ internal String getPointsUnit()
+ {
+ MySqlDataReader points = this.mysql.select("SELECT imponly FROM admin");
+ points.Read();
+ int unit = points.GetInt32(0);
+ points.Close();
+ return (unit < 0) ? "IMP" : "VP";
+ }
}
}