Skip to content

Commit

Permalink
Fix sequence randomize group using own group name instead of specifie…
Browse files Browse the repository at this point in the history
…d group name
  • Loading branch information
acidbubbles committed Jul 28, 2022
1 parent c5f0ae8 commit e711e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AtomAnimations/Animations/AtomAnimationClip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public string nextAnimationName

if (_nextAnimationName != null && _nextAnimationName.EndsWith(RandomizeGroupSuffix))
{
var groupName = animationName.Substring(0, _nextAnimationName.Length - RandomizeGroupSuffix.Length);
var groupName = _nextAnimationName.Substring(0, _nextAnimationName.Length - RandomizeGroupSuffix.Length);
nextAnimationGroupId = groupName.ToId();
}
}
Expand Down

0 comments on commit e711e81

Please sign in to comment.