aboutsummaryrefslogtreecommitdiffstats
path: root/code/ui/team
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-07-27 22:30:22 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-07-27 22:30:22 +0100
commit8b69e65e51507118b014a0426ae6f957b78a0707 (patch)
treec1507990c5f5cc05a4e9000c295618ac85524f9a /code/ui/team
parent71db52c5443a7bf82d9a23a770994a42b043be04 (diff)
Reformat
Diffstat (limited to 'code/ui/team')
-rw-r--r--code/ui/team/TeamInfo.razor34
1 files changed, 17 insertions, 17 deletions
diff --git a/code/ui/team/TeamInfo.razor b/code/ui/team/TeamInfo.razor
index 18e1f7f..883dcf0 100644
--- a/code/ui/team/TeamInfo.razor
+++ b/code/ui/team/TeamInfo.razor
@@ -6,9 +6,9 @@
<style>
.team-info {
- font-size: 35px;
- font-weight: 700;
- font-family: "Roboto";
+ font-size: 35px;
+ font-weight: 700;
+ font-family: "Roboto";
}
</style>
@@ -18,20 +18,20 @@
@code
{
- public string Colour { get; set; }
+ public string Colour { get; set; }
- public string GetTeamName()
- {
- var ClientPawn = Game.LocalPawn;
- if (ClientPawn is Player)
- {
- return TeamOperations.GetTeamName(((Player)ClientPawn).CurrentTeam);
- }
- return "";
- }
+ public string GetTeamName()
+ {
+ var ClientPawn = Game.LocalPawn;
+ if (ClientPawn is Player)
+ {
+ return TeamOperations.GetTeamName(((Player)ClientPawn).CurrentTeam);
+ }
+ return "";
+ }
- protected override int BuildHash()
- {
- return GetTeamName().GetHashCode();
- }
+ protected override int BuildHash()
+ {
+ return GetTeamName().GetHashCode();
+ }
}