Skip to content

Commit

Permalink
Fixing a few animation delays
Browse files Browse the repository at this point in the history
  • Loading branch information
PirateIzzy committed Jan 10, 2025
1 parent fd0b57d commit dcfec8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WzComparerR2.Avatar/AvatarCanvas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ private ActionFrame GetEffectFrame(string action, int frameIndex, int partIndex)
/// </summary>
private void LoadActionFrameDesc(Wz_Node frameNode, ActionFrame actionFrame)
{
actionFrame.Delay = frameNode.Nodes["delay"].GetValueEx<int>(100);
actionFrame.Delay = frameNode.Nodes["delay"].GetValueEx<int>(120);
actionFrame.Flip = frameNode.Nodes["flip"].GetValueEx<int>(0) != 0;
var faceNode = frameNode.Nodes["face"];
if (faceNode != null)
Expand Down
2 changes: 1 addition & 1 deletion WzComparerR2.Common/Animation/MultiFrameAnimationData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static MultiFrameAnimationData CreateFromNode(Wz_Node node, GraphicsDevic
}
}

int delay = frameNode.Nodes["delay"].GetValueEx<int>(100);
int delay = frameNode.Nodes["delay"].GetValueEx<int>(120);
int count = 0;
foreach (Wz_Node aniNode in frameNode.Nodes)
{
Expand Down

0 comments on commit dcfec8f

Please sign in to comment.