Skip to content

Commit

Permalink
Fixed bug in TweenManager that called onComplete on forced tween removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansafrin committed Apr 3, 2015
1 parent 5b43e0b commit b513dfb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Core/Contents/Source/PolyTweenManager.cpp
Expand Up @@ -52,8 +52,6 @@ void TweenManager::removeTweensForTarget(Number *target) {
bool mustRemove = false;
if(target == (*iter)->getTarget()) {
mustRemove = true;
(*iter)->doOnComplete();

if((*iter)->deleteOnComplete) {
Tween *tween = (*iter);
delete tween;
Expand Down

0 comments on commit b513dfb

Please sign in to comment.