Browse Source

Fixed turbulenz example.

closes #143
NathanSweet 12 years ago
parent
commit
87af7aa4f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-js/turbulenz/index.html

+ 1 - 1
spine-js/turbulenz/index.html

@@ -94,7 +94,7 @@ function start () {
 	} else {
 		skeleton.setSkinByName("goblingirl");
 		skeleton.setSlotsToSetupPose();
-		state.setAnimationByName("walk", true);
+		state.setAnimationByName(0, "walk", true);
 
 		canvas.onmousedown = function () {
 			skeleton.setSkinByName(skeleton.skin.name == "goblin" ? "goblingirl" : "goblin");