Forgot that write_player() is a double overloaded fellow...
This commit is contained in:
parent
df571fcdf9
commit
e0b1fc7415
1 changed files with 2 additions and 0 deletions
|
@ -553,6 +553,8 @@ static void write_player(config_writer &out, const player_info& player)
|
|||
config new_cfg;
|
||||
i->write(new_cfg);
|
||||
out.write_child("unit",new_cfg);
|
||||
cfg.add_child("unit",new_cfg);
|
||||
DBG_NG << "added unit '" << new_cfg["description"] << "' to player '" << player.name << "'\n";
|
||||
}
|
||||
|
||||
std::stringstream can_recruit;
|
||||
|
|
Loading…
Add table
Reference in a new issue