summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-07 21:11:56 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-07 21:11:56 +0100
commitfadf3c037ba02e18264dabbad5f1016fa53a995d (patch)
treecc3f5dd3e61eb6cf67d585c07a3157c47f4e4c8b
parentAdded sender name to PM if prefixes disabled (diff)
downloadcuberite-fadf3c037ba02e18264dabbad5f1016fa53a995d.tar
cuberite-fadf3c037ba02e18264dabbad5f1016fa53a995d.tar.gz
cuberite-fadf3c037ba02e18264dabbad5f1016fa53a995d.tar.bz2
cuberite-fadf3c037ba02e18264dabbad5f1016fa53a995d.tar.lz
cuberite-fadf3c037ba02e18264dabbad5f1016fa53a995d.tar.xz
cuberite-fadf3c037ba02e18264dabbad5f1016fa53a995d.tar.zst
cuberite-fadf3c037ba02e18264dabbad5f1016fa53a995d.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index bb6f5f29a..ab77fa545 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -551,7 +551,7 @@ void cWorld::Start(void)
m_bUseChatPrefixes = IniFile.GetValueSetB("Mechanics", "UseChatPrefixes", true);
m_VillagersShouldHarvestCrops = IniFile.GetValueSetB("Monsters", "VillagersShouldHarvestCrops", true);
- m_GameMode = (eGameMode)IniFile.GetValueSetI("GameMode", "GameMode", m_GameMode);
+ m_GameMode = (eGameMode)IniFile.GetValueSetI("General", "Gamemode", m_GameMode);
// Load allowed mobs:
const char * DefaultMonsters = "";