diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/game_sl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/saveload/game_sl.cpp b/src/saveload/game_sl.cpp index d7bb22a66..00ca6d9ab 100644 --- a/src/saveload/game_sl.cpp +++ b/src/saveload/game_sl.cpp @@ -70,8 +70,7 @@ static void Load_GSDT() } GameConfig *config = GameConfig::GetConfig(GameConfig::SSS_FORCE_GAME); - if (_game_saveload_name.empty()) { - } else { + if (!_game_saveload_name.empty()) { config->Change(_game_saveload_name.c_str(), _game_saveload_version, false, _game_saveload_is_random); if (!config->HasScript()) { /* No version of the GameScript available that can load the data. Try to load the |