Severed joints can't be severed again (fixes severed limbs constantly emitting gore particles at the clients' side due to the constant status update messages)

This commit is contained in:
Joonas Rikkonen
2018-01-08 16:35:53 +02:00
parent 57e189ee65
commit 1aa654a5a3

View File

@@ -527,7 +527,7 @@ namespace Barotrauma
public void SeverLimbJoint(LimbJoint limbJoint)
{
if (!limbJoint.CanBeSevered)
if (!limbJoint.CanBeSevered || limbJoint.IsSevered)
{
return;
}