fixed bug #13038: switch controller to human when side owners change
This commit is contained in:
parent
68c640c5da
commit
306eb7089e
1 changed files with 1 additions and 0 deletions
|
@ -450,6 +450,7 @@ void game::change_controller(const size_t side_num,
|
|||
if (controller.empty()) {
|
||||
send_and_record_server_message((player_name
|
||||
+ " takes control of side " + side + ".").c_str());
|
||||
side_controllers_[side_num] = "human";
|
||||
} else {
|
||||
send_and_record_server_message((player_name + (controller == "human_ai" ? "" : "un")
|
||||
+ "droids side " + side + ".").c_str());
|
||||
|
|
Loading…
Add table
Reference in a new issue