Skip to content

Commit

Permalink
Map Starfield.ccc to 'My Games' alongside game folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Jul 18, 2024
1 parent 23f4b56 commit 2e12963
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gamestarfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2e12963

Please sign in to comment.