fix play_controller::all_players()
This commit is contained in:
parent
7df9c043d0
commit
1dabbc3163
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue