Remove deprecated airstrike and paratrooper methods for Lua

This commit is contained in:
abcdefg30
2022-05-11 13:10:14 +02:00
committed by atlimit8
parent 7ec74749be
commit 4ec19b3486
2 changed files with 0 additions and 25 deletions

View File

@@ -33,13 +33,5 @@ namespace OpenRA.Mods.Common.Scripting
var actors = pp.SendParatroopers(Self, target, facing);
return actors.Aircraft;
}
[Desc("Activate the actor's Paratroopers Power. Returns the aircraft that will drop the reinforcements. DEPRECATED! Will be removed.")]
public Actor[] ActivateParatroopers(WPos target, int facing = -1)
{
TextNotificationsManager.Debug("SendParatroopersFrom is deprecated. Use TargetParatroopers instead.");
var actors = pp.SendParatroopers(Self, target, facing == -1 ? (WAngle?)null : WAngle.FromFacing(facing));
return actors.Aircraft;
}
}
}