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