diff --git a/src/hotkey/command_executor.cpp b/src/hotkey/command_executor.cpp index a8fb5811d99f..66e062f25788 100644 --- a/src/hotkey/command_executor.cpp +++ b/src/hotkey/command_executor.cpp @@ -92,6 +92,9 @@ bool command_executor::do_execute_command(const hotkey_command& cmd, int /*inde // handling of hotkeys which activate even on hold events switch(cmd.id) { + case HOTKEY_REPEAT_RECRUIT: + repeat_recruit(); + return true; case HOTKEY_SCROLL_UP: scroll_up(true); return true; @@ -177,9 +180,6 @@ bool command_executor::do_execute_command(const hotkey_command& cmd, int /*inde case HOTKEY_RECRUIT: recruit(); break; - case hotkey::HOTKEY_REPEAT_RECRUIT: - repeat_recruit(); - break; case HOTKEY_SPEAK: speak(); break;