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