Getting creamed will not reveal a person's identity (#31291)
Banana cream pies don't reveal a person's identity
This commit is contained in:
parent
24e8b1dc2d
commit
6deb494f2f
1 changed files with 2 additions and 1 deletions
|
|
@ -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<CreamPiedComponent> entity, ref RejuvenateEvent args)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue