Skip to content

Commit

Permalink
Fixed initializing of mp scenarios
Browse files Browse the repository at this point in the history
Was accidentally broken in 876710a.
  • Loading branch information
Vultraz committed Mar 31, 2016
1 parent a0ffdff commit 0936066
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/game_initialization/create_engine.cpp
Expand Up @@ -1058,8 +1058,7 @@ void create_engine::init_all_levels()

// Stand-alone scenarios.
BOOST_FOREACH(const config &data,
game_config_manager::get()->game_config().child_range(
std::to_string (game_classification::CAMPAIGN_TYPE::MULTIPLAYER)))
game_config_manager::get()->game_config().child_range("multiplayer"))
{
if (!data["allow_new_game"].to_bool(true))
continue;
Expand Down

0 comments on commit 0936066

Please sign in to comment.