diff options
Diffstat (limited to 'src/Root.cpp')
-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(); |