From 3cf3e3f5b67419704be39174dca7bf68bf846070 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Mon, 9 Jan 2023 02:03:55 -0800 Subject: [PATCH] enable orders, no updates needed --- plugins/CMakeLists.txt | 2 +- plugins/orders.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 2b2f3aad5..b74d16e96 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)