v1.0.20.1 (summer patch)
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Barotrauma
|
||||
return;
|
||||
}
|
||||
|
||||
if (!IsRemotePlayer && !(AIController is HumanAIController))
|
||||
if (!IsRemotePlayer && AIController is not HumanAIController)
|
||||
{
|
||||
float characterDistSqr = GetDistanceSqrToClosestPlayer();
|
||||
if (characterDistSqr > MathUtils.Pow2(Params.DisableDistance * 0.5f))
|
||||
@@ -63,6 +63,10 @@ namespace Barotrauma
|
||||
AnimController.SimplePhysicsEnabled = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
AnimController.SimplePhysicsEnabled = false;
|
||||
}
|
||||
|
||||
if (GameMain.NetworkMember != null && !GameMain.NetworkMember.IsServer) { return; }
|
||||
if (Controlled == this) { return; }
|
||||
|
||||
Reference in New Issue
Block a user