From e2e4caf0bad2533d84950aee69e9a74c9aa22685 Mon Sep 17 00:00:00 2001 From: tovl Date: Sat, 16 Mar 2019 19:02:34 +0100 Subject: [PATCH] Make Aircraft.OnBecomingIdle accesible. --- OpenRA.Mods.Common/Traits/Air/Aircraft.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs index e43528c707..2aaa09d638 100644 --- a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs +++ b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs @@ -163,7 +163,7 @@ namespace OpenRA.Mods.Common.Traits } public class Aircraft : ITick, ISync, IFacing, IPositionable, IMove, IIssueOrder, IResolveOrder, IOrderVoice, IDeathActorInitModifier, - INotifyCreated, INotifyAddedToWorld, INotifyRemovedFromWorld, INotifyActorDisposing, + INotifyCreated, INotifyAddedToWorld, INotifyRemovedFromWorld, INotifyActorDisposing, INotifyBecomingIdle, IActorPreviewInitModifier, IIssueDeployOrder, IObservesVariables { static readonly Pair[] NoCells = { }; @@ -519,7 +519,7 @@ namespace OpenRA.Mods.Common.Traits init.Add(new FacingInit(Facing)); } - protected virtual void OnBecomingIdle(Actor self) + void INotifyBecomingIdle.OnBecomingIdle(Actor self) { if (Info.VTOL && Info.LandWhenIdle) {