Handling empty team in :droid (#9165)
This commit is contained in:
parent
a3aca1c0be
commit
da426144a6
1 changed files with 3 additions and 0 deletions
|
@ -1563,6 +1563,9 @@ void console_handler::do_droid()
|
|||
psc->set_player_type_changed();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
command_failed(VGETTEXT("Side '$side' is not a human or AI player.", symbols));
|
||||
return;
|
||||
}
|
||||
menu_handler_.textbox_info_.close();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue