summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 4370c6102..980f8e326 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -392,6 +392,8 @@ static void ShipEnterDepot(Vehicle *v)
MaybeRenewVehicle(v, EstimateShipCost(v->engine_type));
+ TriggerVehicle(v, VEHICLE_TRIGGER_DEPOT);
+
if ((v->next_order&OT_MASK) == OT_GOTO_DEPOT) {
InvalidateWindow(WC_VEHICLE_VIEW, v->index);