From 7b32d9cff5bfc3aa581d7a2c4ecca7949db88653 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Tue, 6 Feb 2024 17:44:37 -0500 Subject: [PATCH] Fix #12019: Correctly highlight depot unbunch action in dropdown --- src/order_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/order_gui.cpp b/src/order_gui.cpp index c23472ed74..fc1d2f0e84 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -194,6 +194,8 @@ static int DepotActionStringIndex(const Order *order) return DA_STOP; } else if (order->GetDepotOrderType() & ODTFB_SERVICE) { return DA_SERVICE; + } else if (order->GetDepotActionType() & ODATFB_UNBUNCH) { + return DA_UNBUNCH; } else { return DA_ALWAYS_GO; }