| 1043 | } |
| 1044 | |
| 1045 | static command_result orders_recheck_current_command(color_ostream & out) |
| 1046 | { |
| 1047 | if (game->main_interface.info.work_orders.conditions.open) |
| 1048 | { |
| 1049 | game->main_interface.info.work_orders.conditions.wq->status.bits.active = false; |
| 1050 | } |
| 1051 | else |
| 1052 | { |
| 1053 | out << COLOR_LIGHTRED << "Order conditions is not open" << std::endl; |
| 1054 | return CR_FAILURE; |
| 1055 | } |
| 1056 | return CR_OK; |
| 1057 | } |