From 68099849283c0517cee57406de2572cde2375979 Mon Sep 17 00:00:00 2001 From: Benau <Benau@users.noreply.github.com> Date: Sun, 30 Sep 2018 11:08:54 +0800 Subject: [PATCH] Fix #2813 --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7c266fe23..d326d0216 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2357,7 +2357,8 @@ static void cleanSuperTuxKart() #ifndef SERVER_ONLY if (!ProfileWorld::isNoGraphics()) { - if(!NewsManager::get()->waitForReadyToDeleted(2.0f)) + if (UserConfigParams::m_internet_status == Online::RequestManager:: + IPERM_ALLOWED && !NewsManager::get()->waitForReadyToDeleted(2.0f)) { Log::info("Thread", "News manager not stopping, exiting anyway."); }