Replace deprecated API usage.

This commit is contained in:
Paul Chote
2020-06-10 22:14:52 +01:00
committed by reaperrr
parent 27602a4a97
commit e5a1a8a706
36 changed files with 61 additions and 61 deletions

View File

@@ -46,7 +46,7 @@ SendGDIAirstrike = function()
local target = GetAirstrikeTarget(Nod)
if target then
CommCenter.SendAirstrike(target, false, Facing.NorthEast + 4)
CommCenter.TargetAirstrike(target, Angle.NorthEast + Angle.New(16))
Trigger.AfterDelay(AirstrikeDelay, SendGDIAirstrike)
else
Trigger.AfterDelay(AirstrikeDelay/4, SendGDIAirstrike)