Skip to content

Commit

Permalink
Install modpacks to the version-specific subdir
Browse files Browse the repository at this point in the history
That's where they are looked for by the client and server.
  • Loading branch information
lmoureaux committed Mar 22, 2021
1 parent a44e91d commit 2893571
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/fcmp/mpcmdline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 2893571

Please sign in to comment.