Merge pull request #886 from knoxHuang/v1.1

fix cc.repeat error #fireball/issues/3564
This commit is contained in:
Wang Nan
2016-07-08 15:14:53 +08:00
committed by GitHub
-1
View File
@@ -560,7 +560,6 @@ cc.Repeat = cc.ActionInterval.extend({
// don't set a instant action back or update it, it has no use because it has no duration
if (!this._actionInstant) {
if (this._total === locTimes) {
locInnerAction.update(1);
locInnerAction.stop();
} else {
// issue #390 prevent jerk, use right update