From 8b69e65e51507118b014a0426ae6f957b78a0707 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Thu, 27 Jul 2023 22:30:22 +0100 Subject: Reformat --- code/ui/health/Health.razor | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'code/ui/health') diff --git a/code/ui/health/Health.razor b/code/ui/health/Health.razor index 9d7037b..3da2c01 100644 --- a/code/ui/health/Health.razor +++ b/code/ui/health/Health.razor @@ -6,33 +6,33 @@
@code { - public string Colour { get; set; } + public string Colour { get; set; } - public int GetHealth() - { - var ClientPawn = Game.LocalPawn; - if (ClientPawn is Player) - { - return ClientPawn.Health.CeilToInt(); - } - return 0; - } + public int GetHealth() + { + var ClientPawn = Game.LocalPawn; + if (ClientPawn is Player) + { + return ClientPawn.Health.CeilToInt(); + } + return 0; + } - protected override int BuildHash() - { - return GetHealth().GetHashCode(); - } + protected override int BuildHash() + { + return GetHealth().GetHashCode(); + } } -- cgit v1.2.3-70-g09d2