PopupSystem public methods rejig (#12830)
This commit is contained in:
@@ -79,7 +79,7 @@ public sealed class ClimbSystem : SharedClimbSystem
|
||||
: CanVault(component, args.User, args.Dragged, args.Target, out reason);
|
||||
|
||||
if (!canVault)
|
||||
_popupSystem.PopupEntity(reason, args.User, Filter.Entities(args.User));
|
||||
_popupSystem.PopupEntity(reason, args.User, args.User);
|
||||
|
||||
args.CanDrop = canVault;
|
||||
args.Handled = true;
|
||||
@@ -368,7 +368,7 @@ public sealed class ClimbSystem : SharedClimbSystem
|
||||
// Not shown to the user, since they already get a 'you climb on the glass table' popup
|
||||
_popupSystem.PopupEntity(
|
||||
Loc.GetString("glass-table-shattered-others", ("table", uid), ("climber", Identity.Entity(args.Climber, EntityManager))), args.Climber,
|
||||
Filter.Pvs(uid).RemoveWhereAttachedEntity(puid => puid == args.Climber));
|
||||
Filter.PvsExcept(args.Climber), true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user