Interrupt uncuff on target movement (#8511)
This commit is contained in:
@@ -227,6 +227,7 @@ namespace Content.Server.Cuffs.Components
|
||||
var doAfterEventArgs = new DoAfterEventArgs(user, uncuffTime)
|
||||
{
|
||||
BreakOnUserMove = true,
|
||||
BreakOnTargetMove = true,
|
||||
BreakOnDamage = true,
|
||||
BreakOnStun = true,
|
||||
NeedHand = true
|
||||
|
||||
@@ -73,8 +73,7 @@ namespace Content.Server.Cuffs
|
||||
}
|
||||
else
|
||||
{
|
||||
// Uh... let it go through???
|
||||
// TODO CUFFABLE/STUN add UncuffAttemptEvent subscription to StunSystem
|
||||
// TODO Find a way for cuffable to check ActionBlockerSystem.CanInteract() without blocking itself
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user