summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r--src/gamemodifiers.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp
index 97e4df286..076cf2653 100644
--- a/src/gamemodifiers.cpp
+++ b/src/gamemodifiers.cpp
@@ -437,7 +437,11 @@ void GameModifiers::changeAwayMode(const bool forward A_UNUSED)
config.getStringValue("afkMessage"),
// TRANSLATORS: ok dialog button
_("OK"),
- DialogType::SILENCE, true, false, nullptr, 260);
+ DialogType::SILENCE,
+ Modal_true,
+ false,
+ nullptr,
+ 260);
localPlayer->setAwayDialog(dialog);
dialog->addActionListener(localPlayer->getAwayListener());
soundManager.volumeOff();