made it so a restart isn't needed...
...before campaigns downloaded from the campaign server appear
This commit is contained in:
parent
67b752fb13
commit
ff109c1b6b
2 changed files with 3 additions and 2 deletions
|
@ -1143,7 +1143,8 @@ void game_controller::download_campaigns()
|
|||
//force a reload of configuration information
|
||||
const bool old_cache = use_caching_;
|
||||
use_caching_ = false;
|
||||
init_config();
|
||||
old_defines_map_.clear();
|
||||
refresh_game_cfg();
|
||||
use_caching_ = old_cache;
|
||||
|
||||
gui::show_dialog(disp(),NULL,_("Campaign Installed"),_("The campaign has been installed."),gui::OK_ONLY);
|
||||
|
|
|
@ -190,7 +190,7 @@ void gamemap::read(const std::string& data)
|
|||
c = KEEP;
|
||||
} else {
|
||||
std::cerr << "Illegal character in map: (" << int(c) << ") '" << c << "'\n";
|
||||
throw incorrect_format_exception("Illegal character");
|
||||
throw incorrect_format_exception("Illegal character found in map. The scenario cannot be loaded.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue