fix play_controller::all_players()

This commit is contained in:
gfgtdf 2015-07-21 17:23:19 +02:00
parent 7df9c043d0
commit 1dabbc3163

View file

@ -1055,7 +1055,9 @@ std::set<std::string> play_controller::all_players() const
std::set<std::string> res = gui_->observers();
BOOST_FOREACH(const team& t, get_teams_const())
{
res.insert(t.current_player());
if (t.is_human()) {
res.insert(t.current_player());
}
}
return res;
}