diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-18 22:33:55 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-18 22:33:55 +0200 |
commit | 2874bf73be010462d060553c1d9a358566a5c56a (patch) | |
tree | a56bf2277606e0a55932cc0b40b9516e366278bd /src/Root.cpp | |
parent | InfoDump: Fixed trailing whitespace. (diff) | |
parent | Fixed failure for cRankManager to restart (diff) | |
download | cuberite-2874bf73be010462d060553c1d9a358566a5c56a.tar cuberite-2874bf73be010462d060553c1d9a358566a5c56a.tar.gz cuberite-2874bf73be010462d060553c1d9a358566a5c56a.tar.bz2 cuberite-2874bf73be010462d060553c1d9a358566a5c56a.tar.lz cuberite-2874bf73be010462d060553c1d9a358566a5c56a.tar.xz cuberite-2874bf73be010462d060553c1d9a358566a5c56a.tar.zst cuberite-2874bf73be010462d060553c1d9a358566a5c56a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 2d08c2c70..02455518c 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -155,7 +155,8 @@ void cRoot::Start(void) m_WebAdmin->Init(); LOGD("Loading settings..."); - m_RankManager.Initialize(m_MojangAPI); + m_RankManager = new cRankManager(); + m_RankManager->Initialize(m_MojangAPI); m_CraftingRecipes = new cCraftingRecipes; m_FurnaceRecipe = new cFurnaceRecipe(); |