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-master.tar
cuberite-master.tar.gz
cuberite-master.tar.bz2
cuberite-master.tar.lz
cuberite-master.tar.xz
cuberite-master.tar.zst
cuberite-master.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);
}