From c4ebdda1a4d1b2ef1b0b8dbd482bedce238d00fc Mon Sep 17 00:00:00 2001 From: Carlen White Date: Sun, 2 Jul 2023 23:02:14 -0400 Subject: [PATCH] Emit a useful message if cleaning the mods folder fails The launcher complains if it can not delete a file when it's trying to clean the mods folder out. However the message it emits is unhelpful and does not offer a suggestion to what is going on. This commit addresses this issue by telling the user what the launcher is trying to do and suggests checking if something is currently open in that directory. I figure not having to go into detail in *where* the folder is not necessary and (primarily) only happens if the user is inspecting the folder themselves and already knows where the folder is. --- src/Startup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Startup.cpp b/src/Startup.cpp index d93677a..bd80db2 100755 --- a/src/Startup.cpp +++ b/src/Startup.cpp @@ -205,7 +205,7 @@ void CheckMP(const std::string& Path) { } } } catch (...) { - fatal("Please close the game, and try again!"); + fatal("We were unable to clean the multiplayer mods folder! Is the game still running or do you have something open in that folder?"); } }