Skip to content

Commit

Permalink
json indices check
Browse files Browse the repository at this point in the history
  • Loading branch information
Blantados committed Sep 18, 2024
1 parent d579b68 commit c9d5f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/states/editors/CharacterEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ class CharacterEditorState extends MusicBeatState
animationLoopCheckBox.checked = anim.loop;
animationNameFramerate.value = anim.fps;

var indicesStr:String = anim.indices.toString();
var indicesStr:String = (anim.indices != null ? anim.indices.toString() : "");
animationIndicesInputText.text = indicesStr.substr(1, indicesStr.length - 2);
});
blockPressWhileScrolling.push(animationDropDown);
Expand Down

0 comments on commit c9d5f8c

Please sign in to comment.