Fixed handcuffed players being able to perform CPR and grab/drag bodies. Closes #608
This commit is contained in:
@@ -1618,9 +1618,7 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (health <= minHealth) Kill(CauseOfDeath.Bloodloss);
|
if (health <= minHealth) Kill(CauseOfDeath.Bloodloss);
|
||||||
|
|
||||||
if (!IsDead) LockHands = false;
|
|
||||||
|
|
||||||
UpdateSightRange();
|
UpdateSightRange();
|
||||||
if (aiTarget != null) aiTarget.SoundRange = 0.0f;
|
if (aiTarget != null) aiTarget.SoundRange = 0.0f;
|
||||||
|
|
||||||
@@ -1652,6 +1650,8 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
selectedConstruction = null;
|
selectedConstruction = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!IsDead) LockHands = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
partial void UpdateControlled(float deltaTime, Camera cam);
|
partial void UpdateControlled(float deltaTime, Camera cam);
|
||||||
|
|||||||
Reference in New Issue
Block a user