force a refresh of the zipios collection after downloading a campaign
This commit is contained in:
parent
a803ed2bf9
commit
a2febe3d22
1 changed files with 6 additions and 0 deletions
|
@ -1168,6 +1168,12 @@ void game_controller::download_campaigns()
|
|||
|
||||
unarchive_campaign(cfg);
|
||||
|
||||
// when using zipios, force a reread zip and directory indices
|
||||
if (!filesystem_init()) {
|
||||
gui::show_error_message(disp(), _("Cannot rescan the filesystem"));
|
||||
return;
|
||||
}
|
||||
|
||||
//force a reload of configuration information
|
||||
const bool old_cache = use_caching_;
|
||||
use_caching_ = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue