aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/enderalse/gameenderalse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/enderalse/gameenderalse.cpp')
-rw-r--r--libs/game_bethesda/src/games/enderalse/gameenderalse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/game_bethesda/src/games/enderalse/gameenderalse.cpp b/libs/game_bethesda/src/games/enderalse/gameenderalse.cpp
index 26587b8..e2f8952 100644
--- a/libs/game_bethesda/src/games/enderalse/gameenderalse.cpp
+++ b/libs/game_bethesda/src/games/enderalse/gameenderalse.cpp
@@ -55,7 +55,7 @@ void GameEnderalSE::detectGame()
{
m_GamePath = identifyGamePath();
checkVariants();
- m_MyGamesPath = determineMyGamesPath(gameDirectoryName());
+ m_MyGamesPath = determineMyGamesPath(gameDirectoryName(), !m_GamePath.isEmpty());
}
QString GameEnderalSE::identifyGamePath() const
@@ -99,7 +99,7 @@ void GameEnderalSE::setGamePath(const QString& path)
{
m_GamePath = path;
checkVariants();
- m_MyGamesPath = determineMyGamesPath(gameDirectoryName());
+ m_MyGamesPath = determineMyGamesPath(gameDirectoryName(), !m_GamePath.isEmpty());
}
QDir GameEnderalSE::savesDirectory() const