summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 855570eb8..c5cd1e3b5 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -1333,7 +1333,8 @@ void Map::saveExtraLayer()
std::string Map::getUserMapDirectory() const
{
- return Client::getServerConfigDirectory() + "/" + getProperty("_filename");
+ return Client::getServerConfigDirectory() + "/"
+ + getProperty("_realfilename");
}
void Map::addPortal(const std::string &name, int type,