Interrupt uncuff on target movement (#8511)

This commit is contained in:
Leon Friedrich
2022-05-30 14:08:09 +12:00
committed by GitHub
parent 86ee423449
commit 8ecca64dd3
2 changed files with 2 additions and 2 deletions

View File

@@ -227,6 +227,7 @@ namespace Content.Server.Cuffs.Components
var doAfterEventArgs = new DoAfterEventArgs(user, uncuffTime) var doAfterEventArgs = new DoAfterEventArgs(user, uncuffTime)
{ {
BreakOnUserMove = true, BreakOnUserMove = true,
BreakOnTargetMove = true,
BreakOnDamage = true, BreakOnDamage = true,
BreakOnStun = true, BreakOnStun = true,
NeedHand = true NeedHand = true

View File

@@ -73,8 +73,7 @@ namespace Content.Server.Cuffs
} }
else else
{ {
// Uh... let it go through??? // TODO Find a way for cuffable to check ActionBlockerSystem.CanInteract() without blocking itself
// TODO CUFFABLE/STUN add UncuffAttemptEvent subscription to StunSystem
} }
} }
else else