Connect Engine: don't send faction description over the network

Just... why was this being sent.
This commit is contained in:
Charles Dang 2018-02-07 05:02:55 +11:00
parent 01105cc924
commit fd70e88861

View file

@ -1017,7 +1017,7 @@ config side_engine::new_config() const
LOG_MP << "side_engine::new_config: side=" << index_ + 1 << " faction=" << faction["id"] << " recruit=" << faction["recruit"] << "\n";
res["faction_name"] = faction["name"];
res["faction"] = faction["id"];
faction.remove_attributes("id", "name", "image", "gender", "type");
faction.remove_attributes("id", "name", "image", "gender", "type", "description");
res.append(faction);
}