Merge pull request #468 from 2youyouo2/anim

fixed stopState
This commit is contained in:
Jare Guo
2016-03-14 10:42:00 +08:00
+1 -1
View File
@@ -51,7 +51,7 @@ p.sample = function () {
};
p.stopState = function (state) {
if (JS.array.remove(this.playingAnims, state)) {
if (state) {
state.stop();
}
};