Cache CanMove (#7480)
This commit is contained in:
@@ -7,9 +7,6 @@ using Content.Shared.MobState.Components;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Verbs;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server.Cuffs
|
||||
@@ -121,6 +118,7 @@ namespace Content.Server.Cuffs
|
||||
if (dirty)
|
||||
{
|
||||
cuffable.CanStillInteract = handCount > cuffable.CuffedHandCount;
|
||||
_actionBlockerSystem.UpdateCanMove(cuffable.Owner);
|
||||
cuffable.CuffedStateChanged();
|
||||
Dirty(cuffable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user