summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--CONTRIBUTORS1
-rw-r--r--src/WorldStorage/MapSerializer.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 660746445..db229a6f9 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -59,6 +59,7 @@ mcfadyeni
MeMuXin
mgueydan
MikeHunsinger
+mjagdis (Mike Jagdis)
Morritz (TJ)
morsmordere (Anzhelika Iugai)
mtilden
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);
}