Changed side_drop handling not to automaticaly assign AI for side...
...if leader is dead (bug #12186)
This commit is contained in:
parent
260fb57307
commit
d9f3dfe94a
1 changed files with 2 additions and 4 deletions
|
@ -215,10 +215,8 @@ turn_info::PROCESS_DATA_RESULT turn_info::process_network_data(const config& cfg
|
|||
std::vector<team*> allies;
|
||||
std::vector<std::string> options;
|
||||
|
||||
//see if the side still has a leader alive. If they have
|
||||
//no leader, we assume they just want to be replaced by
|
||||
//the AI.
|
||||
if(have_leader) {
|
||||
// We want to give host chance to decide what to do for side
|
||||
{
|
||||
utils::string_map t_vars;
|
||||
options.push_back(_("Replace with AI"));
|
||||
options.push_back(_("Replace with local player"));
|
||||
|
|
Loading…
Add table
Reference in a new issue