Skip to content

Commit

Permalink
Map Starfield.ccc to 'My Games' alongside game folder. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 authored Jul 19, 2024
1 parent 23f4b56 commit 1dde28e
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 1dde28e

Please sign in to comment.