Unstable v0.10.6.0 (October 13th 2020)
This commit is contained in:
@@ -47,6 +47,10 @@ namespace Barotrauma
|
||||
base.Update(deltaTime, cam);
|
||||
|
||||
if (!Enabled) { return; }
|
||||
if (!IsRemotePlayer && AIController is EnemyAIController enemyAi)
|
||||
{
|
||||
enemyAi.PetBehavior?.Update(deltaTime);
|
||||
}
|
||||
if (IsDead || Vitality <= 0.0f || Stun > 0.0f || IsIncapacitated)
|
||||
{
|
||||
//don't enable simple physics on dead/incapacitated characters
|
||||
|
||||
Reference in New Issue
Block a user