Identity popup fixes (#9743)
This commit is contained in:
@@ -7,6 +7,7 @@ using Content.Shared.Actions;
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Hands.EntitySystems;
|
||||
using Content.Shared.IdentityManagement;
|
||||
using Content.Shared.MobState.Components;
|
||||
using Content.Shared.Polymorph;
|
||||
using Robust.Server.Containers;
|
||||
@@ -96,7 +97,11 @@ namespace Content.Server.Polymorph.Systems
|
||||
mind.Mind.TransferTo(component.Parent);
|
||||
}
|
||||
|
||||
_popup.PopupEntity(Loc.GetString("polymorph-revert-popup-generic", ("parent", uid), ("child", component.Parent)), component.Parent, Filter.Pvs(component.Parent));
|
||||
_popup.PopupEntity(Loc.GetString("polymorph-revert-popup-generic",
|
||||
("parent", Identity.Entity(uid, EntityManager)),
|
||||
("child", Identity.Entity(component.Parent, EntityManager))),
|
||||
component.Parent,
|
||||
Filter.Pvs(component.Parent));
|
||||
QueueDel(uid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user