Localization of the shuttle call sender (#32286)
This commit is contained in:
@@ -125,7 +125,7 @@ namespace Content.Server.RoundEnd
|
||||
return _countdownTokenSource != null;
|
||||
}
|
||||
|
||||
public void RequestRoundEnd(EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "Station")
|
||||
public void RequestRoundEnd(EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "round-end-system-shuttle-sender-announcement")
|
||||
{
|
||||
var duration = DefaultCountdownDuration;
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace Content.Server.RoundEnd
|
||||
RequestRoundEnd(duration, requester, checkCooldown, text, name);
|
||||
}
|
||||
|
||||
public void RequestRoundEnd(TimeSpan countdownTime, EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "Station")
|
||||
public void RequestRoundEnd(TimeSpan countdownTime, EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "round-end-system-shuttle-sender-announcement")
|
||||
{
|
||||
if (_gameTicker.RunLevel != GameRunLevel.InRound)
|
||||
return;
|
||||
@@ -183,7 +183,7 @@ namespace Content.Server.RoundEnd
|
||||
_chatSystem.DispatchGlobalAnnouncement(Loc.GetString(text,
|
||||
("time", time),
|
||||
("units", Loc.GetString(units))),
|
||||
name,
|
||||
Loc.GetString(name),
|
||||
false,
|
||||
null,
|
||||
Color.Gold);
|
||||
|
||||
Reference in New Issue
Block a user