Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Content.Shared.Examine;
|
||||
using Content.Shared.Examine;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
@@ -17,7 +17,7 @@ namespace Content.Server.Warps
|
||||
public void Examine(FormattedMessage message, bool inDetailsRange)
|
||||
{
|
||||
var loc = Location == null ? "<null>" : $"'{Location}'";
|
||||
message.AddText(Loc.GetString("This one's location ID is {0}", loc));
|
||||
message.AddText(Loc.GetString("warp-point-component-on-examine-success", ("location", loc)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user