diff --git a/Source/Contents/Store/MCStoreInfoBackup.cpp b/Source/Contents/Store/MCStoreInfoBackup.cpp index f147d8063..dec815fe0 100644 --- a/Source/Contents/Store/MCStoreInfoBackup.cpp +++ b/Source/Contents/Store/MCStoreInfoBackup.cpp @@ -150,7 +150,8 @@ void CMCStoreInfoBackup::Load( return; } - g_asyncWorkMgr->LoadStore(accountId, characterId, accountName, this->LoadUrl(), + CAsyncWorkMgr* mgr = g_asyncWorkMgr; + mgr->LoadStore(accountId, characterId, accountName, this->LoadUrl(), std::string(reinterpret_cast(&g_session.webServiceLoginData[0x08]), 16), type); } @@ -162,7 +163,7 @@ void CMCStoreInfoBackup::Save(int type) { Json::Value data; this->ExportData(data); - if (!data.isNull()) { + if (data.isNull() != true) { root["data"] = data; Json::StyledWriter writer; const std::string response = writer.write(root);