diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 6e0dc7e00..a31f89898 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -139,7 +139,7 @@ dfhack_plugin(hotkeys hotkeys.cpp LINK_LIBRARIES lua) #dfhack_plugin(mode mode.cpp) #dfhack_plugin(mousequery mousequery.cpp) #dfhack_plugin(nestboxes nestboxes.cpp) -#dfhack_plugin(orders orders.cpp LINK_LIBRARIES jsoncpp_static) +dfhack_plugin(orders orders.cpp LINK_LIBRARIES jsoncpp_static) dfhack_plugin(overlay overlay.cpp LINK_LIBRARIES lua) dfhack_plugin(pathable pathable.cpp LINK_LIBRARIES lua) #dfhack_plugin(petcapRemover petcapRemover.cpp) diff --git a/plugins/orders.cpp b/plugins/orders.cpp index 800a0db6e..6118b3997 100644 --- a/plugins/orders.cpp +++ b/plugins/orders.cpp @@ -147,8 +147,7 @@ static command_result orders_list_command(color_ostream & out) if (files.empty()) { - out << COLOR_YELLOW << "No exported orders yet. Create manager orders and export them with 'orders export ', or copy pre-made orders .json files into " << ORDERS_DIR << "." << std::endl; - return CR_OK; + out << COLOR_YELLOW << "No exported orders yet. Create manager orders and export them with 'orders export ', or copy pre-made orders .json files into " << ORDERS_DIR << "." << std::endl << std::endl; } for (auto it : files)