Makes round-end-eta tell the restart time in minutes (#6777)

This commit is contained in:
T-Stalker
2022-02-19 21:42:16 -03:00
committed by GitHub
parent 35f0b9bbcd
commit 613afb64bb
2 changed files with 2 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ namespace Content.Server.RoundEnd
_gameTicker.EndRound(); _gameTicker.EndRound();
_countdownTokenSource?.Cancel(); _countdownTokenSource?.Cancel();
_countdownTokenSource = new(); _countdownTokenSource = new();
_chatManager.DispatchServerAnnouncement(Loc.GetString("round-end-system-round-restart-eta-announcement", ("seconds", DefaultRestartRoundDuration.Seconds))); _chatManager.DispatchServerAnnouncement(Loc.GetString("round-end-system-round-restart-eta-announcement", ("minutes", DefaultRestartRoundDuration.Minutes)));
Timer.Spawn(DefaultRestartRoundDuration, AfterEndRoundRestart, _countdownTokenSource.Token); Timer.Spawn(DefaultRestartRoundDuration, AfterEndRoundRestart, _countdownTokenSource.Token);
} }

View File

@@ -2,4 +2,4 @@
round-end-system-shuttle-called-announcement = An emergency shuttle has been sent. ETA: {$minutes} minutes. round-end-system-shuttle-called-announcement = An emergency shuttle has been sent. ETA: {$minutes} minutes.
round-end-system-shuttle-recalled-announcement = The emergency shuttle has been recalled. round-end-system-shuttle-recalled-announcement = The emergency shuttle has been recalled.
round-end-system-round-restart-eta-announcement = Restarting the round in {$seconds} seconds... round-end-system-round-restart-eta-announcement = Restarting the round in {$minutes} minutes...