From 364dad966cbe652780b75ae8006fe104f902f06b Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Fri, 10 Nov 2023 14:45:11 +0000 Subject: [PATCH] `SpineGameObject.setSkeletonFromJSON` has been fixed so it now passes the parameters in the correct order to the `setSkeleton` method. Fix #6585 --- plugins/spine/src/gameobject/SpineGameObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spine/src/gameobject/SpineGameObject.js b/plugins/spine/src/gameobject/SpineGameObject.js index 384f9db2a..8ddc119ca 100644 --- a/plugins/spine/src/gameobject/SpineGameObject.js +++ b/plugins/spine/src/gameobject/SpineGameObject.js @@ -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); }, /**