Remove: "generation_seed" from config, as it was a write-only value (#11927)

This commit is contained in:
Patric Stout
2024-01-30 18:02:35 +01:00
committed by GitHub
parent a05b7acec8
commit 7acf78964f
4 changed files with 12 additions and 2 deletions

View File

@@ -430,7 +430,7 @@ struct AfterNewGRFScan : NewGRFScanCallback {
SetEffectVolume(_settings_client.music.effect_vol);
if (startyear != CalendarTime::INVALID_YEAR) IConsoleSetSetting("game_creation.starting_year", startyear.base());
if (generation_seed != GENERATE_NEW_SEED) _settings_newgame.game_creation.generation_seed = generation_seed;
_settings_newgame.game_creation.generation_seed = generation_seed;
if (!dedicated_host.empty()) {
_network_bind_list.clear();