Skip to content

Commit

Permalink
fix issues with [unit] in [side] in mp connect.
Browse files Browse the repository at this point in the history
this code here might write to the wrong config. 'type' and 'gender' are
also writen below to the correct config. This fixes an error that
prevented 2p Drak forecast to load.
  • Loading branch information
gfgtdf committed Feb 15, 2016
1 parent b9380e8 commit 4e46c7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game_initialization/connect_engine.cpp
Expand Up @@ -999,7 +999,8 @@ config side_engine::new_config() const
faction.remove_attribute("id");
faction.remove_attribute("name");
faction.remove_attribute("image");
faction.remove_attribute("flag_rgb");
faction.remove_attribute("gender");
faction.remove_attribute("type");
res.append(faction);
}

Expand Down

0 comments on commit 4e46c7c

Please sign in to comment.