diff options
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 4f6bb3372..a9ca65b36 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2574,8 +2574,11 @@ void PopupMenu::addPlayerRelation(const std::string &name) void PopupMenu::addFollow() { - // TRANSLATORS: popup menu item - mBrowserBox->addRow("follow", _("Follow")); + if (features.getBoolValue("allowFollow")) + { + // TRANSLATORS: popup menu item + mBrowserBox->addRow("follow", _("Follow")); + } // TRANSLATORS: popup menu item // TRANSLATORS: imitate player mBrowserBox->addRow("imitation", _("Imitation")); |