allow out-of-turn unit renaming again
This commit is contained in:
parent
c1cd4c33df
commit
980236d7c2
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ bool play_controller::can_execute_command(hotkey::HOTKEY_COMMAND command, int in
|
|||
return menu_handler_.current_unit(mouse_handler_) != units_.end();
|
||||
|
||||
case hotkey::HOTKEY_RENAME_UNIT:
|
||||
return !events::commands_disabled && !browse_ &&
|
||||
return !events::commands_disabled &&
|
||||
menu_handler_.current_unit(mouse_handler_) != units_.end() &&
|
||||
!(menu_handler_.current_unit(mouse_handler_)->second.unrenamable()) &&
|
||||
menu_handler_.current_unit(mouse_handler_)->second.side() == gui_->viewing_team()+1 &&
|
||||
|
|
Loading…
Add table
Reference in a new issue