Fix #12019: Correctly highlight depot unbunch action in dropdown

This commit is contained in:
Tyler Trahan
2024-02-06 17:44:37 -05:00
parent 771615cb4b
commit 7b32d9cff5

View File

@@ -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;
}