do not use identity for join announcement (#12479)
This commit is contained in:
@@ -2,7 +2,6 @@ using System.Globalization;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Content.Server.Ghost;
|
using Content.Server.Ghost;
|
||||||
using Content.Server.Ghost.Components;
|
using Content.Server.Ghost.Components;
|
||||||
using Content.Shared.IdentityManagement;
|
|
||||||
using Content.Server.Players;
|
using Content.Server.Players;
|
||||||
using Content.Server.Spawners.Components;
|
using Content.Server.Spawners.Components;
|
||||||
using Content.Server.Speech.Components;
|
using Content.Server.Speech.Components;
|
||||||
@@ -196,7 +195,7 @@ namespace Content.Server.GameTicking
|
|||||||
_chatSystem.DispatchStationAnnouncement(station,
|
_chatSystem.DispatchStationAnnouncement(station,
|
||||||
Loc.GetString(
|
Loc.GetString(
|
||||||
"latejoin-arrival-announcement",
|
"latejoin-arrival-announcement",
|
||||||
("character", Identity.Entity(mob, EntityManager)),
|
("character", MetaData(mob).EntityName),
|
||||||
("job", CultureInfo.CurrentCulture.TextInfo.ToTitleCase(job.Name))
|
("job", CultureInfo.CurrentCulture.TextInfo.ToTitleCase(job.Name))
|
||||||
), Loc.GetString("latejoin-arrival-sender"),
|
), Loc.GetString("latejoin-arrival-sender"),
|
||||||
playDefaultSound: false);
|
playDefaultSound: false);
|
||||||
|
|||||||
Reference in New Issue
Block a user