summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authormjagdis <mjagdis@eris-associates.co.uk>2024-05-13 00:10:38 +0200
committerGitHub <noreply@github.com>2024-05-13 00:10:38 +0200
commit81d40127c10211c5742e37d9f540bfb0c048bb2c (patch)
treeb38fb67037b9a87ab4b69e54fdf8d3094c16acfe /src/WorldStorage
parentcibuild.sh: enable verbose ccache output (diff)
downloadcuberite-81d40127c10211c5742e37d9f540bfb0c048bb2c.tar
cuberite-81d40127c10211c5742e37d9f540bfb0c048bb2c.tar.gz
cuberite-81d40127c10211c5742e37d9f540bfb0c048bb2c.tar.bz2
cuberite-81d40127c10211c5742e37d9f540bfb0c048bb2c.tar.lz
cuberite-81d40127c10211c5742e37d9f540bfb0c048bb2c.tar.xz
cuberite-81d40127c10211c5742e37d9f540bfb0c048bb2c.tar.zst
cuberite-81d40127c10211c5742e37d9f540bfb0c048bb2c.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/MapSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/MapSerializer.cpp b/src/WorldStorage/MapSerializer.cpp
index e68ad00e6..3e50740b3 100644
--- a/src/WorldStorage/MapSerializer.cpp
+++ b/src/WorldStorage/MapSerializer.cpp
@@ -18,7 +18,7 @@ cMapSerializer::cMapSerializer(const AString & a_WorldName, cMap * a_Map):
m_Map(a_Map)
{
auto DataPath = fmt::format(FMT_STRING("{}{}data"), a_WorldName, cFile::PathSeparator());
- m_Path = fmt::format(FMT_STRING("{}{}map_%i.dat"), DataPath, cFile::PathSeparator(), a_Map->GetID());
+ m_Path = fmt::format(FMT_STRING("{}{}map_{}.dat"), DataPath, cFile::PathSeparator(), a_Map->GetID());
cFile::CreateFolder(DataPath);
}