From 711db4467f46c1d211f7c9e08bd21531beef0f0f Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sun, 17 Nov 2013 04:34:34 +0100 Subject: [PATCH] Display error if mod downloader failed to rename temp file --- Aquaria/ModDownloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aquaria/ModDownloader.cpp b/Aquaria/ModDownloader.cpp index cd2fe4c..2a34ed3 100644 --- a/Aquaria/ModDownloader.cpp +++ b/Aquaria/ModDownloader.cpp @@ -512,7 +512,7 @@ void ModDL::NotifyMod(ModRequest *rq, NetEvent ev, size_t recvd, size_t total) remove(archiveFile.c_str()); if(rename(rq->tempFilename.c_str(), archiveFile.c_str())) { - debugLog("Could not rename mod " + rq->tempFilename + " to " + archiveFile); + dsq->screenMessage("Failed to rename mod\n" + rq->tempFilename + "\n to\n" + archiveFile); return; } else