PopupSystem public methods rejig (#12830)
This commit is contained in:
@@ -146,7 +146,7 @@ public sealed partial class RevenantSystem : EntitySystem
|
||||
{
|
||||
if (component.Essence <= abilityCost)
|
||||
{
|
||||
_popup.PopupEntity(Loc.GetString("revenant-not-enough-essence"), uid, Filter.Entities(uid));
|
||||
_popup.PopupEntity(Loc.GetString("revenant-not-enough-essence"), uid, uid);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ public sealed partial class RevenantSystem : EntitySystem
|
||||
{
|
||||
if(_physics.GetEntitiesIntersectingBody(uid, (int) CollisionGroup.Impassable).Count > 0)
|
||||
{
|
||||
_popup.PopupEntity(Loc.GetString("revenant-in-solid"), uid, Filter.Entities(uid));
|
||||
_popup.PopupEntity(Loc.GetString("revenant-in-solid"), uid, uid);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user