diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 1f80660867..0ce3059c97 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -1617,7 +1617,7 @@ CommandCost CmdOrderRefit(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 order->SetRefit(cargo, subtype); /* Make the depot order an 'always go' order. */ - if (cargo != CT_NO_REFIT) { + if (cargo != CT_NO_REFIT && order->IsType(OT_GOTO_DEPOT)) { order->SetDepotOrderType((OrderDepotTypeFlags)(order->GetDepotOrderType() & ~ODTFB_SERVICE)); order->SetDepotActionType((OrderDepotActionFlags)(order->GetDepotActionType() & ~ODATFB_HALT)); }