Skip to content

Commit

Permalink
Getting creamed will not reveal a person's identity (space-wizards#31291
Browse files Browse the repository at this point in the history
)

Banana cream pies don't reveal a person's identity
  • Loading branch information
Winkarst-cpu authored Aug 21, 2024
1 parent 24e8b1d commit 6deb494
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/Nutrition/EntitySystems/CreamPieSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
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;
Expand Down Expand Up @@ -99,7 +100,7 @@ protected override void CreamedEntity(EntityUid uid, CreamPiedComponent creamPie
{
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<CreamPiedComponent> entity, ref RejuvenateEvent args)
Expand Down

0 comments on commit 6deb494

Please sign in to comment.