[News] Clear flags when updater download failed

This commit is contained in:
momo5502 2017-02-11 19:49:52 +01:00
parent 60f96edcce
commit 0fcc70c107

View File

@ -102,6 +102,7 @@ namespace Components
if (data.empty()) if (data.empty())
{ {
Localization::ClearTemp(); Localization::ClearTemp();
News::UpdaterArgs.clear();
Command::Execute("closemenu popup_reconnectingtoparty", false); Command::Execute("closemenu popup_reconnectingtoparty", false);
Game::ShowMessageBox("Failed to download the updater!", "Error"); Game::ShowMessageBox("Failed to download the updater!", "Error");
} }