Make the Lobby Round Timer a bit clearer (#11977)

This commit is contained in:
Mervill
2022-10-22 14:52:34 -07:00
committed by GitHub
parent 9c27f8417b
commit 281b790067
2 changed files with 5 additions and 3 deletions

View File

@@ -128,7 +128,8 @@ namespace Content.Client.Lobby
if (_gameTicker.IsGameStarted) if (_gameTicker.IsGameStarted)
{ {
_lobby!.StartTime.Text = string.Empty; _lobby!.StartTime.Text = string.Empty;
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-station-time", ("stationTime", _gameTiming.CurTime.Subtract(_gameTicker.RoundStartTimeSpan).ToString("hh\\:mm"))); var roundTime = _gameTiming.CurTime.Subtract(_gameTicker.RoundStartTimeSpan);
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-round-time", ("hours", roundTime.Hours), ("minutes", roundTime.Minutes));
return; return;
} }
@@ -152,7 +153,7 @@ namespace Content.Client.Lobby
} }
} }
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-station-time", ("stationTime", TimeSpan.Zero.ToString("hh\\:mm"))); _lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-round-not-started");
_lobby!.StartTime.Text = Loc.GetString("lobby-state-round-start-countdown-text", ("timeLeft", text)); _lobby!.StartTime.Text = Loc.GetString("lobby-state-round-start-countdown-text", ("timeLeft", text));
} }

View File

@@ -7,4 +7,5 @@ lobby-state-ready-button-ready-up-state = Ready Up
lobby-state-player-status-not-ready = Not Ready lobby-state-player-status-not-ready = Not Ready
lobby-state-player-status-ready = Ready lobby-state-player-status-ready = Ready
lobby-state-player-status-observer = Observer lobby-state-player-status-observer = Observer
lobby-state-player-status-station-time = The station time is: {$stationTime} lobby-state-player-status-round-not-started = The round hasn't started yet
lobby-state-player-status-round-time = The round time is: {$hours} hours and {$minutes} minutes