Fixed limbs becoming severed even if the character isn't dead, severed limbs fade out after 10 seconds

This commit is contained in:
Joonas Rikkonen
2017-06-20 21:01:59 +03:00
parent aa541695fc
commit d07649463b
3 changed files with 43 additions and 11 deletions
@@ -159,6 +159,7 @@ namespace Barotrauma
foreach (Limb limb in Limbs)
{
if (limb.IsSevered) continue;
limb.body.Enabled = !simplePhysicsEnabled;
}