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);
|
UpdateSineAnim(deltaTime);
|
||||||
}
|
}
|
||||||
else
|
else if (currentHull != null && CanEnterSubmarine)
|
||||||
{
|
{
|
||||||
UpdateWalkAnim(deltaTime);
|
UpdateWalkAnim(deltaTime);
|
||||||
}
|
}
|
||||||
@@ -119,7 +119,6 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//if (stunTimer > gameTime.TotalGameTime.TotalMilliseconds) return;
|
|
||||||
if (!flip) return;
|
if (!flip) return;
|
||||||
|
|
||||||
flipTimer += deltaTime;
|
flipTimer += deltaTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user