From 289357133fbd20d0780b40cb9b82cbe4c14a3a17 Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Mon, 22 Mar 2021 03:02:41 +0100 Subject: [PATCH] Install modpacks to the version-specific subdir That's where they are looked for by the client and server. --- tools/fcmp/mpcmdline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/fcmp/mpcmdline.cpp b/tools/fcmp/mpcmdline.cpp index 781afdba9b..f1fc4606b2 100644 --- a/tools/fcmp/mpcmdline.cpp +++ b/tools/fcmp/mpcmdline.cpp @@ -92,7 +92,8 @@ void fcmp_parse_cmdline(const QCoreApplication &app) } if (fcmp.inst_prefix.isNull()) { - fcmp.inst_prefix = freeciv_storage_dir(); + fcmp.inst_prefix = + freeciv_storage_dir() + QStringLiteral("/" DATASUBDIR); if (fcmp.inst_prefix.isNull()) { qCritical("Cannot determine freeciv storage directory");