Loading

Paste #phsw73z9z

  1. Index: src/openttd.cpp
  2. ===================================================================
  3. --- src/openttd.cpp (revision 27603)
  4. +++ src/openttd.cpp (working copy)
  5. @@ -366,6 +366,7 @@
  6.         _settings_game.ai_config[c] = NULL;
  7.         if (_settings_newgame.ai_config[c] != NULL) {
  8.             _settings_game.ai_config[c] = new AIConfig(_settings_newgame.ai_config[c]);
  9. +           if (!AIConfig::GetConfig(c, AIConfig::SSS_FORCE_GAME)->HasScript()) AIConfig::GetConfig(c, AIConfig::SSS_FORCE_GAME)->Change(NULL);
  10.         }
  11.     }
  12.     _settings_game.game_config = NULL;

Comments