UI/Panels/TimerPanel.razor
@using System;
@using Sandbox;
@using Sandbox.UI;
@inherits Panel
@namespace Sandbox

@if (Player.LocalPlayer.IsValid())
{
	<root>
		<p>#ui.min</p>
		<p class="time-title">@TimeScore</p>
	</root>
}

@code
{
	string TimeScore;

	protected override int BuildHash() => System.HashCode.Combine
	(
		TimeScore = Convert.ToString((int)Player.LocalPlayer.SessionTime / 60)
	);
}