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:
@@ -527,7 +527,7 @@ namespace Barotrauma
|
|||||||
|
|
||||||
public void SeverLimbJoint(LimbJoint limbJoint)
|
public void SeverLimbJoint(LimbJoint limbJoint)
|
||||||
{
|
{
|
||||||
if (!limbJoint.CanBeSevered)
|
if (!limbJoint.CanBeSevered || limbJoint.IsSevered)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user