From fbcedd84552369090b88b15ba4125d46a856e6ce Mon Sep 17 00:00:00 2001 From: LucasTheDrgn Date: Tue, 7 Jan 2025 17:49:29 -0500 Subject: [PATCH] Fix nuke alert localization most string use "$location", including the nuke alert. NukeSystem.cs tries to use "position" instead, leading to the location being unlocalized. --- Content.Server/Nuke/NukeSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Nuke/NukeSystem.cs b/Content.Server/Nuke/NukeSystem.cs index 9cd24b9af6c..89b81685c67 100644 --- a/Content.Server/Nuke/NukeSystem.cs +++ b/Content.Server/Nuke/NukeSystem.cs @@ -462,7 +462,7 @@ public void ArmBomb(EntityUid uid, NukeComponent? component = null) Color.Red, stationUid ?? uid, null, - ("time", (int) component.RemainingTime), ("position", FormattedMessage.RemoveMarkupPermissive(_navMap.GetNearestBeaconString((uid, nukeXform)))) + ("time", (int) component.RemainingTime), ("location", FormattedMessage.RemoveMarkupPermissive(_navMap.GetNearestBeaconString((uid, nukeXform)))) ); _sound.PlayGlobalOnStation(uid, _audio.GetSound(component.ArmSound));