Fix #7478 game crash after reloading a mp game in debug mode (#8907)

previously the game would return to titlescreen here if mp_info_
but was null but
`game_config::debug && state_.classification().is_multiplayer()`
returned true which happend when a multiplayer game was reloaded
via the sp loadgame dialog.

This fixes the issue by simply removing the "always show mp staging
between scenarios in debug mode" feature, which imo never was that
useful anyways.
This commit is contained in:
gfgtdf 2024-05-25 18:04:13 +02:00
parent c08152a0e7
commit ba5c1c1ac1

View file

@ -245,7 +245,7 @@ level_result::type campaign_controller::play_game()
ng::connect_engine connect_engine(state_, false, mp_info_);
if(!connect_engine.can_start_game() || (game_config::debug && state_.classification().is_multiplayer())) {
if(!connect_engine.can_start_game()) {
// Opens staging dialog to allow users to make an adjustments for scenario.
if(!mp::goto_mp_staging(connect_engine)) {
return level_result::type::quit;