1
0
Fork 0

Fix #12019: Correctly highlight depot unbunch action in dropdown

pull/12053/head
Tyler Trahan 2024-02-06 17:44:37 -05:00
parent 771615cb4b
commit 7b32d9cff5
1 changed files with 2 additions and 0 deletions

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