addons_menu->set_active_item(index);
}
catch (std::runtime_error e) {
- log_warning << "Check for available Add-ons failed with error message \"" << e.what() << "\"" << std::endl;
+ log_warning << "Check for available Add-ons failed: " << e.what() << std::endl;
}
return;
}
addons_menu->set_active_item(index);
}
catch (std::runtime_error e) {
- log_warning << "Installation of Add-on failed with error message \"" << e.what() << "\"" << std::endl;
+ log_warning << "Installation of Add-on failed: " << e.what() << std::endl;
}
} else {
try {
addons_menu->set_active_item(index);
}
catch (std::runtime_error e) {
- log_warning << "Removal of Add-on failed with error message \"" << e.what() << "\"" << std::endl;
+ log_warning << "Removal of Add-on failed: " << e.what() << std::endl;
}
}
}
break;
case MNID_QUITMAINMENU:
main_loop->quit(new FadeOut(0.25));
+ sound_manager->stop_music(0.25);
break;
}
} else if(menu == load_game_menu.get()) {