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

@@ -40,7 +40,7 @@ InitObjectives = function(player)
end
ReinforceWithLandingCraft = function(player, units, transportStart, transportUnload, rallypoint)
local transport = Actor.Create("oldlst", true, { Owner = player, Facing = 0, Location = transportStart })
local transport = Actor.Create("oldlst", true, { Owner = player, Facing = Angle.North, Location = transportStart })
local subcell = 0
Utils.Do(units, function(a)
transport.LoadPassenger(Actor.Create(a, false, { Owner = transport.Owner, Facing = transport.Facing, Location = transportUnload, SubCell = subcell }))