summaryrefslogtreecommitdiff
path: root/src/saveload/settings_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/settings_sl.cpp')
-rw-r--r--src/saveload/settings_sl.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/saveload/settings_sl.cpp b/src/saveload/settings_sl.cpp
index a93979238..1b1db8fa6 100644
--- a/src/saveload/settings_sl.cpp
+++ b/src/saveload/settings_sl.cpp
@@ -89,11 +89,7 @@ static std::vector<SaveLoad> GetSettingsDesc(const SettingTable &settings, bool
continue;
}
- SaveLoad sv = sd->save;
- /* Replace the name with the actual name of the setting. */
- assert(!sd->GetName().empty());
- sv.name = sd->GetName();
- saveloads.push_back(sv);
+ saveloads.push_back(sd->save);
}
return saveloads;