Skip to content
Browse files

don't show network_ai controllers in :give_control dialog

  • Loading branch information...
1 parent b854aab commit 2430b491df804700aecc4a43eab3aac3c2a17d56 @cbeck88 cbeck88 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/dialogs/mp_change_control.cpp
View
2 src/gui/dialogs/mp_change_control.cpp
@@ -177,7 +177,7 @@ class side_controller
for(std::vector<team>::const_iterator it = resources::teams->begin();
it != resources::teams->end();
++it) {
- if(!it->is_ai() && !it->is_idle() && !it->is_empty() && !it->current_player().empty())
+ if(!it->is_ai() && !it->is_network_ai() && !it->is_idle() && !it->is_empty() && !it->current_player().empty())
nicks.insert(it->current_player());
}

0 comments on commit 2430b49

Please sign in to comment.
Something went wrong with that request. Please try again.