diff --git a/SpriteLibrary/SpriteEntryForm.cs b/SpriteLibrary/SpriteEntryForm.cs index 1b62100..c4f78f6 100644 --- a/SpriteLibrary/SpriteEntryForm.cs +++ b/SpriteLibrary/SpriteEntryForm.cs @@ -124,7 +124,8 @@ namespace SpriteLibrary //Put in numbers into the combo-box of which frame to base ourselves off of cbAnimation.Items.Clear(); - for(int i =0; i < TempInformation.Animations.Count; i++) + //We cannot base ourselves off an animation we have not created yet + for(int i =0; i < CurrentSIAnimation; i++) { cbAnimation.Items.Add(i.ToString()); }