use the new facing global

This commit is contained in:
Matthias Mailänder
2015-05-27 21:50:51 +02:00
committed by abcdefg30
parent 59a5eb4937
commit 05229e79ce
3 changed files with 5 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ SendGDIAirstrike = function()
local target = getAirstrikeTarget()
if target then
Radar.SendAirstrike(target, false, 256 - 28)
Radar.SendAirstrike(target, false, Facing.NorthEast + 4)
Trigger.AfterDelay(AirstrikeDelay, SendGDIAirstrike)
else
Trigger.AfterDelay(AirstrikeDelay/4, SendGDIAirstrike)

View File

@@ -76,7 +76,7 @@ Atk3TriggerFunction = function()
local target = targets[DateTime.GameTime % #targets + 1].CenterPosition
if target then
Radar.SendAirstrike(target, false, 256 - 28)
Radar.SendAirstrike(target, false, Facing.NorthEast + 4)
end
end
end