SpineGameObject.setSkeletonFromJSON has been fixed so it now passes the parameters in the correct order to the setSkeleton method. Fix #6585

This commit is contained in:
Richard Davey 2023-11-10 14:45:11 +00:00
parent 0eb7595c06
commit 364dad966c

View file

@ -501,7 +501,7 @@ var SpineGameObject = new Class({
*/
setSkeletonFromJSON: function (atlasDataKey, skeletonJSON, animationName, loop)
{
return this.setSkeleton(atlasDataKey, skeletonJSON, animationName, loop);
return this.setSkeleton(atlasDataKey, animationName, loop, skeletonJSON);
},
/**