summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 9aed163d6..08e88c0fc 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -579,9 +579,10 @@ impHandler0(changeAudio)
impHandler0(away)
{
+ if (modifiers)
+ modifiers->changeAwayMode();
if (player_node)
{
- player_node->changeAwayMode();
player_node->updateStatus();
if (Game::instance())
Game::instance()->setValidSpeed();