mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 01:43:18 +00:00
Changed side_drop handling not to automaticaly assign AI for side...
...if leader is dead (bug #12186)
This commit is contained in:
parent
f52b29f4c0
commit
b4168aaced
@ -220,10 +220,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…
x
Reference in New Issue
Block a user