Change initial changelog text

This commit is contained in:
momo5502 2016-03-17 19:11:59 +01:00
parent db837b6168
commit 887892d50b

View File

@ -19,7 +19,7 @@ namespace Components
News::Thread = nullptr;
if (!strlen(Localization::Get("MPUI_CHANGELOG_TEXT")))
if (!strlen(Localization::Get("MPUI_CHANGELOG_TEXT")) || Localization::Get("MPUI_CHANGELOG_TEXT") == std::string("Loading..."))
{
Logger::Print("Failed to fetch changelog!\n");
result = false;
@ -45,7 +45,7 @@ namespace Components
News::News()
{
Localization::Set("MPUI_CHANGELOG_TEXT", "");
Localization::Set("MPUI_CHANGELOG_TEXT", "Loading...");
Localization::Set("MPUI_MOTD_TEXT", NEWS_MOTD_DEFUALT);
News::Thread = new std::thread([] ()