mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 16:18:34 +00:00
Handling empty team in :droid (#9165)
This commit is contained in:
parent
a3aca1c0be
commit
da426144a6
@ -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…
x
Reference in New Issue
Block a user