summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 003bf4133..b4c31b33a 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -2220,6 +2220,7 @@ void LocalPlayer::changeAwayMode()
DIALOG_SILENCE, true, false);
mAwayDialog->addActionListener(mAwayListener);
sound.volumeOff();
+ addAfkEffect();
}
else
{
@@ -2230,6 +2231,7 @@ void LocalPlayer::changeAwayMode()
chatWindow->displayAwayLog();
chatWindow->clearAwayLog();
}
+ removeAfkEffect();
}
}