Skip to content

Commit

Permalink
fixup debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Mar 20, 2017
1 parent bd6a0c6 commit b50ce70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_initialization/connect_engine.cpp
Expand Up @@ -998,10 +998,10 @@ config side_engine::new_config() const
if(!parent_.params_.saved_game) {
// Merge the faction data to res.
config faction = flg_.current_faction();
LOG_MP << "side_engine::new_config: side=" << index_ + 1 << " faction=" << faction["id"] << " recruit=" << faction["recruit"] << "\n";
res["faction_name"] = faction["name"];
res["faction"] = faction["id"];
faction.remove_attributes("id", "name", "image", "gender", "type");
LOG_MP << "side_engine::new_config: side=" << index_ + 1 << " faction=" << res["faction_name"] << " recuit=" << res["recruit"] << "\n";
res.append(faction);
}

Expand Down

0 comments on commit b50ce70

Please sign in to comment.