aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp')
-rw-r--r--libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp b/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
index 7a147e5..f7b9413 100644
--- a/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
+++ b/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
@@ -102,7 +102,7 @@ void GameFalloutNV::setGamePath(const QString& path)
{
m_GamePath = path;
checkVariants();
- m_MyGamesPath = determineMyGamesPath(gameDirectoryName());
+ m_MyGamesPath = determineMyGamesPath(gameDirectoryName(), !m_GamePath.isEmpty());
}
QDir GameFalloutNV::savesDirectory() const
@@ -137,7 +137,7 @@ void GameFalloutNV::detectGame()
{
m_GamePath = identifyGamePath();
checkVariants();
- m_MyGamesPath = determineMyGamesPath(gameDirectoryName());
+ m_MyGamesPath = determineMyGamesPath(gameDirectoryName(), !m_GamePath.isEmpty());
}
QList<ExecutableInfo> GameFalloutNV::executables() const