Characters that aren't inside a hull or can't enter subs won't attempt to play a walking animation
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Barotrauma
|
||||
{
|
||||
UpdateSineAnim(deltaTime);
|
||||
}
|
||||
else
|
||||
else if (currentHull != null && CanEnterSubmarine)
|
||||
{
|
||||
UpdateWalkAnim(deltaTime);
|
||||
}
|
||||
@@ -119,7 +119,6 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
//if (stunTimer > gameTime.TotalGameTime.TotalMilliseconds) return;
|
||||
if (!flip) return;
|
||||
|
||||
flipTimer += deltaTime;
|
||||
|
||||
Reference in New Issue
Block a user