[News] Remove unneeded dedicated check and fix another one

This commit is contained in:
sr0 2017-02-21 21:47:02 +01:00
parent 6ab4dd7f9a
commit c7f7f532dd

View File

@ -122,7 +122,7 @@ namespace Components
{
News::UpdaterArgs.clear();
if (ZoneBuilder::IsEnabled() && Dedicated::Dedicated::IsEnabled()) return; // Maybe also dedi?
if (ZoneBuilder::IsEnabled() || Dedicated::IsEnabled()) return; // Maybe also dedi?
Dvar::Register<bool>("g_firstLaunch", true, Game::DVAR_FLAG_SAVED, "");
@ -175,7 +175,7 @@ namespace Components
News::LaunchUpdater("-update -c");
});
if (!Utils::IsWineEnvironment() && !Loader::PerformingUnitTests() && !Dedicated::Dedicated::IsEnabled())
if (!Utils::IsWineEnvironment() && !Loader::PerformingUnitTests())
{
News::Terminate = false;
News::Thread = std::thread([]()