Remove calls to FormattedMessage obsolete methods (#31706)

* Remove FormattedMessage obsolete methods

* Oops
This commit is contained in:
Winkarst
2024-09-01 14:00:53 +03:00
committed by GitHub
parent ff4c347a21
commit 88dcc831c1
40 changed files with 82 additions and 82 deletions

View File

@@ -211,7 +211,7 @@ namespace Content.Server.Explosion.EntitySystems
return;
// Gets location of the implant
var posText = FormattedMessage.RemoveMarkup(_navMap.GetNearestBeaconString(uid));
var posText = FormattedMessage.RemoveMarkupOrThrow(_navMap.GetNearestBeaconString(uid));
var critMessage = Loc.GetString(component.CritMessage, ("user", implanted.ImplantedEntity.Value), ("position", posText));
var deathMessage = Loc.GetString(component.DeathMessage, ("user", implanted.ImplantedEntity.Value), ("position", posText));