Skip to content

Commit

Permalink
Enable Cancel Orders in Load MP Game
Browse files Browse the repository at this point in the history
Resolving bug #22133, stating Cancel Orders does not work when loading a MP game.
  • Loading branch information
Wedge009 committed Oct 20, 2015
1 parent 675738e commit 01daea8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game_initialization/multiplayer_create.cpp
Expand Up @@ -333,6 +333,9 @@ void create::process_event_impl(const process_event_data & data)
}
}

if (load.cancel_orders())
engine_.get_state().cancel_orders();

engine_.prepare_for_saved_game();
set_result(LOAD_GAME);

Expand Down

0 comments on commit 01daea8

Please sign in to comment.