From 87af7aa4f90c5bd53fad9e0926ac829e64c6dbde Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Fri, 18 Oct 2013 03:29:55 +0200 Subject: [PATCH] Fixed turbulenz example. closes #143 --- spine-js/turbulenz/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-js/turbulenz/index.html b/spine-js/turbulenz/index.html index 0185b9a1b..2ffdcefb6 100644 --- a/spine-js/turbulenz/index.html +++ b/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");