diff --git a/src/engine/client/autoupdate.cpp b/src/engine/client/autoupdate.cpp index dbb432c01..b0c352981 100644 --- a/src/engine/client/autoupdate.cpp +++ b/src/engine/client/autoupdate.cpp @@ -104,6 +104,7 @@ void CAutoUpdate::ReplaceExecutable() dbg_msg("autoupdate", "Replacing" PLAT_CLIENT_EXEC); //Replace running executable by renaming twice... + m_pStorage->RemoveFile("DDNet.old", 2); m_pStorage->RenameFile(PLAT_CLIENT_EXEC, "DDNet.old", 2); m_pStorage->RenameFile("DDNet.tmp", PLAT_CLIENT_EXEC, 2); }