summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index b6545e2ca..b209092fb 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2025,8 +2025,8 @@ void Vehicle::CancelReservation(Station *st)
if (cargo.ActionCount(VehicleCargoList::MTA_LOAD) > 0) {
DEBUG(misc, 1, "cancelling cargo reservation");
cargo.Return(UINT_MAX, &st->goods[v->cargo_type].cargo);
- cargo.KeepAll();
}
+ cargo.KeepAll();
}
}