diff options
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp index 8d97c94e8..9a21c738d 100644 --- a/src/gamemodifiers.cpp +++ b/src/gamemodifiers.cpp @@ -21,6 +21,7 @@ #include "gamemodifiers.h" #include "configuration.h" +#include "game.h" #include "settings.h" #include "soundmanager.h" @@ -408,6 +409,7 @@ void GameModifiers::changeAwayMode() localPlayer->setAfkTime(0); localPlayer->setHalfAway(false); localPlayer->updateName(); + Game::instance()->updateFrameRate(0); UpdateStatusListener::distributeEvent(); if (settings.awayMode) { |