diff options
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particle.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp index 728433ae9..4d852a78d 100644 --- a/src/particle/particle.cpp +++ b/src/particle/particle.cpp @@ -240,14 +240,10 @@ bool Particle::update() restrict2 if (mLifetimeLeft == 0) { mAlive = AliveStatus::DEAD_TIMEOUT; - if (mChildParticles.empty()) { - if (mAlive != AliveStatus::ALIVE && - mAutoDelete) - { + if (mAutoDelete) return false; - } return true; } } |