From 73f1a0c0875fa511c68c18b197d76b1bdf9e1e80 Mon Sep 17 00:00:00 2001 From: gfgtdf Date: Sun, 14 Sep 2014 18:47:03 +0200 Subject: [PATCH] read lost= from [team] when loading a savefile --- src/team.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/team.cpp b/src/team.cpp index 0f749d0a09fa..447be87b9ba8 100644 --- a/src/team.cpp +++ b/src/team.cpp @@ -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);