Fix build with GCC and Clang
This commit is contained in:
parent
dc33cf7ceb
commit
ba22daf029
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ connect_engine::connect_engine(saved_game& state, const bool first_scenario, mp_
|
|||
if(add_team) {
|
||||
team_data_pod data;
|
||||
data.team_name = params_.use_map_settings ? team_name : "Team " + side_str;
|
||||
data.user_team_name = user_team_name;
|
||||
data.user_team_name = user_team_name.str();
|
||||
data.is_player_team = side["allow_player"].to_bool(true);
|
||||
|
||||
team_data_.push_back(data);
|
||||
|
|
Loading…
Add table
Reference in a new issue