summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp
index cd4f0f2fd..0db577a48 100644
--- a/src/spellmanager.cpp
+++ b/src/spellmanager.cpp
@@ -193,7 +193,7 @@ std::string SpellManager::parseCommand(std::string command,
if (target)
{
name = target->getName();
- name2 = target->getName();
+ name2 = name;
id = toString(target->getId());
}
else