From 6deb494f2fa2d5116d58a3678c0e524eaa91c2c0 Mon Sep 17 00:00:00 2001 From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Date: Thu, 22 Aug 2024 00:50:34 +0300 Subject: [PATCH] Getting creamed will not reveal a person's identity (#31291) Banana cream pies don't reveal a person's identity --- Content.Server/Nutrition/EntitySystems/CreamPieSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.51.2