diff --git a/coreengine/animation.c b/coreengine/animation.c index a5f6caf..aea51a6 100644 --- a/coreengine/animation.c +++ b/coreengine/animation.c @@ -209,7 +209,8 @@ void cAnimation::Detach(void) { if (!Running()) return; detachable->RenderDetached(); if (!Running()) return; - detachable->Flush(); + if (!doAnimation) + detachable->Flush(); if (!Running()) return; if (doAnimation) { detachable->StartAnimation();