Skip to content

Commit

Permalink
read lost= from [team] when loading a savefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Sep 14, 2014
1 parent e0ec8c3 commit 73f1a0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/team.cpp
Expand Up @@ -164,6 +164,7 @@ void team::team_info::read(const config &cfg)
chose_random = cfg["chose_random"].to_bool(false);
no_leader = cfg["no_leader"].to_bool();
defeat_condition = team::parse_defeat_condition(cfg["defeat_condition"], team::NO_LEADER);
lost = cfg["lost"].to_bool(false);
hidden = cfg["hidden"].to_bool();
no_turn_confirmation = cfg["suppress_end_turn_confirmation"].to_bool();
side = cfg["side"].to_int(1);
Expand Down

0 comments on commit 73f1a0c

Please sign in to comment.