From b756eaf6dc0ca7e593e88c2be20ea0788dc96d88 Mon Sep 17 00:00:00 2001 From: def Date: Tue, 11 Aug 2020 14:06:35 +0200 Subject: [PATCH] Ignore non-existing dll file Happened when adding the new sqlite3.dll file. --- src/engine/client/updater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/updater.cpp b/src/engine/client/updater.cpp index 1b2fd4ea8..497c71dfd 100644 --- a/src/engine/client/updater.cpp +++ b/src/engine/client/updater.cpp @@ -153,7 +153,7 @@ bool CUpdater::MoveFile(const char *pFile) if(!str_comp_nocase(pFile + len - 4, ".dll") || !str_comp_nocase(pFile + len - 4, ".ttf")) { str_format(aBuf, sizeof(aBuf), "%s.old", pFile); - Success &= m_pStorage->RenameBinaryFile(pFile, aBuf); + m_pStorage->RenameBinaryFile(pFile, aBuf); str_format(aBuf, sizeof(aBuf), "update/%s", pFile); Success &= m_pStorage->RenameBinaryFile(aBuf, pFile); }