summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index fcf230dc0..cbdb8af8d 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -2307,7 +2307,6 @@ void Being::saveComment(const std::string &name,
{
std::string dir = Client::getUsersDirectory()
+ stringToHexPath(name);
- std::string fileName = dir + "/comment.txt";
ResourceManager *resman = ResourceManager::getInstance();
resman->saveTextFile(dir, "comment.txt", name + "\n" + comment);
}