From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:50:34 +0000 (+0300) Subject: Getting creamed will not reveal a person's identity (#31291) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6deb494f2fa2d5116d58a3678c0e524eaa91c2c0;p=space-station-14.git Getting creamed will not reveal a person's identity (#31291) Banana cream pies don't reveal a person's identity --- diff --git a/Content.Server/Nutrition/EntitySystems/CreamPieSystem.cs b/Content.Server/Nutrition/EntitySystems/CreamPieSystem.cs index 50b9297ca7..19ed48ec49 100644 --- a/Content.Server/Nutrition/EntitySystems/CreamPieSystem.cs +++ b/Content.Server/Nutrition/EntitySystems/CreamPieSystem.cs @@ -5,6 +5,7 @@ using Content.Server.Nutrition.Components; using Content.Server.Popups; using Content.Shared.Containers.ItemSlots; using Content.Shared.Explosion.Components; +using Content.Shared.IdentityManagement; using Content.Shared.Nutrition; using Content.Shared.Nutrition.Components; using Content.Shared.Nutrition.EntitySystems; @@ -99,7 +100,7 @@ namespace Content.Server.Nutrition.EntitySystems { otherPlayers.RemovePlayer(actor.PlayerSession); } - _popup.PopupEntity(Loc.GetString("cream-pied-component-on-hit-by-message-others", ("owner", uid), ("thrower", args.Thrown)), uid, otherPlayers, false); + _popup.PopupEntity(Loc.GetString("cream-pied-component-on-hit-by-message-others", ("owner", Identity.Name(uid, EntityManager)), ("thrower", args.Thrown)), uid, otherPlayers, false); } private void OnRejuvenate(Entity entity, ref RejuvenateEvent args)