From 1dde28ed79e9caebdc56ed63391e897d2a1019f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Fri, 19 Jul 2024 09:50:10 +0200 Subject: [PATCH] Map Starfield.ccc to 'My Games' alongside game folder. (#28) --- src/gamestarfield.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gamestarfield.cpp b/src/gamestarfield.cpp index 8ee604b..0ab6f25 100644 --- a/src/gamestarfield.cpp +++ b/src/gamestarfield.cpp @@ -188,8 +188,12 @@ MappingType GameStarfield::mappings() const } } if (m_Organizer->pluginSetting(name(), "enable_loadorder_fix").toBool()) { + // map the Starfield.ccc from the profile to both the game folder and the My Games + // folder (used by LOOT for instance) result.push_back({m_Organizer->profilePath() + "/" + "Starfield.ccc", gameDirectory().absolutePath() + "/" + "Starfield.ccc", false}); + result.push_back({m_Organizer->profilePath() + "/" + "Starfield.ccc", + myGamesPath() + "/" + "Starfield.ccc", false}); } return result; }