diff options
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r-- | src/resources/map/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index 571b19abd..b7e5d1fca 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -1250,8 +1250,8 @@ void Map::saveExtraLayer() const restrict2 std::string Map::getUserMapDirectory() const restrict2 { - return settings.serverConfigDir + - dirSeparator + getProperty("_realfilename"); + return pathJoin(settings.serverConfigDir, + getProperty("_realfilename")); } void Map::addRange(const std::string &restrict name, |