Skip to content

Commit

Permalink
Fix nuke alert localization
Browse files Browse the repository at this point in the history
most string use "$location", including the nuke alert. NukeSystem.cs tries to use "position" instead, leading to the location being unlocalized.
  • Loading branch information
LucasTheDrgn authored Jan 7, 2025
1 parent ac42961 commit fbcedd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Nuke/NukeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit fbcedd8

Please sign in to comment.