Fix master
This commit is contained in:
@@ -9,6 +9,7 @@ using JetBrains.Annotations;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server.Cuffs
|
||||
{
|
||||
@@ -65,7 +66,7 @@ namespace Content.Server.Cuffs
|
||||
}
|
||||
if (args.Cancelled)
|
||||
{
|
||||
_popupSystem.PopupEntity(Loc.GetString("cuffable-component-cannot-interact-message"), args.Target, _popupSystem.GetFilterFromEntity(userEntity));
|
||||
_popupSystem.PopupEntity(Loc.GetString("cuffable-component-cannot-interact-message"), args.Target, Filter.Entities(userEntity.Uid));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.Stack
|
||||
@@ -94,7 +95,7 @@ namespace Content.Server.Stack
|
||||
popupPos = args.User.Transform.Coordinates;
|
||||
}
|
||||
|
||||
var filter = _popupSystem.GetFilterFromEntity(args.User);
|
||||
var filter = Filter.Entities(args.User.Uid);
|
||||
|
||||
switch (toTransfer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user