From 98554be75d5b9294f332224f18541745331f6ca4 Mon Sep 17 00:00:00 2001 From: Edgar Date: Fri, 15 Jan 2021 12:14:14 +0100 Subject: [PATCH] move tmp file deletion before the break --- src/engine/client/client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 34f35742b..f427c0b78 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -3347,11 +3347,11 @@ void CClient::Run() s_SavedConfig = true; } - if(m_Warnings.empty() && !GameClient()->IsDisplayingWarning()) - break; - if(m_aDDNetInfoTmp[0]) m_pStorage->RemoveFile(m_aDDNetInfoTmp, IStorage::TYPE_SAVE); + + if(m_Warnings.empty() && !GameClient()->IsDisplayingWarning()) + break; } #if defined(CONF_FAMILY_UNIX)