diff --git a/cocos2d/animation/playable.js b/cocos2d/animation/playable.js index 4c959a20bc..04b1be2f7a 100644 --- a/cocos2d/animation/playable.js +++ b/cocos2d/animation/playable.js @@ -108,8 +108,10 @@ prototype.stop = function () { * @method pause */ prototype.pause = function () { - this._isPaused = true; - this.onPause(); + if (this._isPlaying) { + this._isPaused = true; + this.onPause(); + } }; /** @@ -118,8 +120,10 @@ prototype.pause = function () { * @method resume */ prototype.resume = function () { - this._isPaused = false; - this.onResume(); + if (this._isPlaying) { + this._isPaused = false; + this.onResume(); + } }; /**