summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-04 18:40:55 +0100
committermadmaxoft <github@xoft.cz>2014-03-04 18:40:55 +0100
commite50ffba1ad1cae0154828ccc210ba4949af088f3 (patch)
tree6d49892c195419fe419fc1c97a272c79b97f88f8 /src/World.cpp
parentFixed previous weather changes. (diff)
downloadcuberite-e50ffba1ad1cae0154828ccc210ba4949af088f3.tar
cuberite-e50ffba1ad1cae0154828ccc210ba4949af088f3.tar.gz
cuberite-e50ffba1ad1cae0154828ccc210ba4949af088f3.tar.bz2
cuberite-e50ffba1ad1cae0154828ccc210ba4949af088f3.tar.lz
cuberite-e50ffba1ad1cae0154828ccc210ba4949af088f3.tar.xz
cuberite-e50ffba1ad1cae0154828ccc210ba4949af088f3.tar.zst
cuberite-e50ffba1ad1cae0154828ccc210ba4949af088f3.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 6ee0def91..37c07b398 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -264,8 +264,6 @@ cWorld::cWorld(const AString & a_WorldName) :
// Load the scoreboard
cScoreboardSerializer Serializer(m_WorldName, &m_Scoreboard);
Serializer.Load();
-
- m_MapManager.LoadMapData();
}
@@ -652,13 +650,13 @@ void cWorld::Start(void)
m_LastSpawnMonster.insert(std::map<cMonster::eFamily, Int64>::value_type(cMonster::mfAmbient, 0));
m_LastSpawnMonster.insert(std::map<cMonster::eFamily, Int64>::value_type(cMonster::mfWater, 0));
+ m_MapManager.LoadMapData();
// Save any changes that the defaults may have done to the ini file:
if (!IniFile.WriteFile(m_IniFileName))
{
LOGWARNING("Could not write world config to %s", m_IniFileName.c_str());
}
-
}