Fix master
This commit is contained in:
@@ -9,6 +9,7 @@ using JetBrains.Annotations;
|
|||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
using Robust.Shared.Localization;
|
using Robust.Shared.Localization;
|
||||||
using Robust.Shared.IoC;
|
using Robust.Shared.IoC;
|
||||||
|
using Robust.Shared.Player;
|
||||||
|
|
||||||
namespace Content.Server.Cuffs
|
namespace Content.Server.Cuffs
|
||||||
{
|
{
|
||||||
@@ -65,7 +66,7 @@ namespace Content.Server.Cuffs
|
|||||||
}
|
}
|
||||||
if (args.Cancelled)
|
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.Localization;
|
||||||
using Robust.Shared.Map;
|
using Robust.Shared.Map;
|
||||||
using Robust.Shared.Maths;
|
using Robust.Shared.Maths;
|
||||||
|
using Robust.Shared.Player;
|
||||||
using Robust.Shared.Prototypes;
|
using Robust.Shared.Prototypes;
|
||||||
|
|
||||||
namespace Content.Server.Stack
|
namespace Content.Server.Stack
|
||||||
@@ -94,7 +95,7 @@ namespace Content.Server.Stack
|
|||||||
popupPos = args.User.Transform.Coordinates;
|
popupPos = args.User.Transform.Coordinates;
|
||||||
}
|
}
|
||||||
|
|
||||||
var filter = _popupSystem.GetFilterFromEntity(args.User);
|
var filter = Filter.Entities(args.User.Uid);
|
||||||
|
|
||||||
switch (toTransfer)
|
switch (toTransfer)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user