Skip to content

Commit

Permalink
Fix conditional order wait loops not ignoring label orders
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Sep 23, 2023
1 parent 9ad2f44 commit 1e7f31b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/order_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3290,6 +3290,7 @@ VehicleOrderID AdvanceOrderIndexDeferred(const Vehicle *v, VehicleOrderID index)
}

case OT_DUMMY:
case OT_LABEL:
break;

default:
Expand Down

0 comments on commit 1e7f31b

Please sign in to comment.