Skip to content

Commit

Permalink
fix OOS in nogui mode
Browse files Browse the repository at this point in the history
even in nogui mode we need to call playcontroller.maybe_linger() to make sure the host sended the next scenario data to the server before we attempt to download it.
  • Loading branch information
gfgtdf committed Mar 4, 2016
1 parent e0ac69c commit 674db19
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/game_initialization/playcampaign.cpp
Expand Up @@ -243,10 +243,7 @@ LEVEL_RESULT campaign_controller::playmp_scenario(end_level_data &end_level)
//(we want to see that message before entering the linger mode)
show_carryover_message(playcontroller, end_level, res);
}
if(!video_.faked())
{
playcontroller.maybe_linger();
}
playcontroller.maybe_linger();
playcontroller.update_savegame_snapshot();
if(mp_info_) {
mp_info_->connected_players = playcontroller.all_players();
Expand Down

0 comments on commit 674db19

Please sign in to comment.