summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 732b342b2..51becef39 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1850,9 +1850,7 @@ void ActorManager::optionChanged(const std::string &name)
mCycleNPC = config.getBoolValue("cycleNPC");
else if (name == "extMouseTargeting")
mExtMouseTargeting = config.getBoolValue("extMouseTargeting");
- else if (name == "showBadges")
- updateBadges();
- else if (name == "visiblenamespos")
+ else if (name == "showBadges" || name == "visiblenamespos")
updateBadges();
else if (name == "enableIdCollecting")
mEnableIdCollecting = config.getBoolValue("enableIdCollecting");