summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp
index aad803ba2..4f7cd84bb 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -2767,7 +2767,10 @@ void Being::addAfkEffect()
void Being::removeAfkEffect()
{
if (effectManager && mAfkParticle)
+ {
mChildParticleEffects.removeLocally(mAfkParticle);
+ mAfkParticle = nullptr;
+ }
}
void Being::updateAwayEffect()