Fixed handcuffed players being able to perform CPR and grab/drag bodies. Closes #608

This commit is contained in:
Joonas Rikkonen
2018-08-08 12:01:20 +03:00
parent 67527df8ab
commit 1a5a76746b

View File

@@ -1618,9 +1618,7 @@ namespace Barotrauma
}
if (health <= minHealth) Kill(CauseOfDeath.Bloodloss);
if (!IsDead) LockHands = false;
UpdateSightRange();
if (aiTarget != null) aiTarget.SoundRange = 0.0f;
@@ -1652,6 +1650,8 @@ namespace Barotrauma
{
selectedConstruction = null;
}
if (!IsDead) LockHands = false;
}
partial void UpdateControlled(float deltaTime, Camera cam);