Removed old Loc.GetString() use instances (#4155)

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
Galactic Chimp
2021-06-21 02:13:54 +02:00
committed by GitHub
parent 4a46fbe6dd
commit 392b820796
523 changed files with 3082 additions and 1551 deletions

View File

@@ -23,8 +23,7 @@ namespace Content.Server.GameTicking
private void WatchdogApiOnUpdateReceived()
{
_chatManager.DispatchServerAnnouncement(Loc.GetString(
"Update has been received, server will automatically restart for update at the end of this round."));
_chatManager.DispatchServerAnnouncement(Loc.GetString("game-ticker-restart-round-server-update"));
_updateOnRoundEnd = true;
ServerEmptyUpdateRestartCheck();
}
@@ -55,8 +54,7 @@ namespace Content.Server.GameTicking
Timer.Spawn(UpdateRestartDelay, () =>
{
_baseServer.Shutdown(
Loc.GetString("Server is shutting down for update and will automatically restart."));
_baseServer.Shutdown(Loc.GetString("game-ticker-shutdown-server-update"));
}, _updateShutdownCts.Token);
}
}