fix Issue #20373 - Aircraft hanging midair

This commit is contained in:
ThomasChr
2022-10-27 08:39:37 +02:00
committed by Gustas
parent ed9880f801
commit bd882c98c7

View File

@@ -104,7 +104,7 @@ namespace OpenRA.Mods.Common.Activities
}
// Prevent an infinite loop in case we'd return to the activity that called ReturnToBase in the first place. Go idle instead.
self.CancelActivity();
QueueChild(new FlyIdle(self, aircraft.Info.NumberOfTicksToVerifyAvailableAirport));
return true;
}