Fix lobby countdown not showing hours (#33685)
This commit is contained in:
@@ -136,6 +136,10 @@ namespace Content.Client.Lobby
|
|||||||
{
|
{
|
||||||
text = Loc.GetString(seconds < -5 ? "lobby-state-right-now-question" : "lobby-state-right-now-confirmation");
|
text = Loc.GetString(seconds < -5 ? "lobby-state-right-now-question" : "lobby-state-right-now-confirmation");
|
||||||
}
|
}
|
||||||
|
else if (difference.TotalHours >= 1)
|
||||||
|
{
|
||||||
|
text = $"{Math.Floor(difference.TotalHours)}:{difference.Minutes:D2}:{difference.Seconds:D2}";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
text = $"{difference.Minutes}:{difference.Seconds:D2}";
|
text = $"{difference.Minutes}:{difference.Seconds:D2}";
|
||||||
|
|||||||
Reference in New Issue
Block a user