diff --git a/cocos/2d/CCProgressTimer.cpp b/cocos/2d/CCProgressTimer.cpp index 9bf7e9f324..cb6a0787f3 100644 --- a/cocos/2d/CCProgressTimer.cpp +++ b/cocos/2d/CCProgressTimer.cpp @@ -114,9 +114,8 @@ void ProgressTimer::setSprite(Sprite *sprite) { CC_SAFE_FREE(_vertexData); _vertexDataCount = 0; + updateProgress(); } - - updateProgress(); } }