Skip to content

Commit 5de1c6c

Browse files
committed
Issue #3943: Modification of clone, reverse and getDuration
1 parent 7d27972 commit 5de1c6c

File tree

3 files changed

+118
-44
lines changed

3 files changed

+118
-44
lines changed

cocos2d/actions/CCAction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ cc.FiniteTimeAction = cc.Action.extend(/** @lends cc.FiniteTimeAction# */{
214214
* @return {Number}
215215
*/
216216
getDuration:function () {
217-
return this._duration;
217+
return this._duration * (this._times || 1);
218218
},
219219

220220
/** set duration in seconds of the action

0 commit comments

Comments
 (0)