summaryrefslogtreecommitdiff
path: root/src/particle/particle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle/particle.cpp')
-rw-r--r--src/particle/particle.cpp6
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;
}
}