Fix breakage of the old Lua API due to recent changes

Specifically, the CPos::CenterPosition -> Map::CenterOfCell rename (#5758),
as well as the additional argument to Paradrop::SetLZ (#5695).
This commit is contained in:
Oliver Brakmann
2014-07-06 01:21:22 +02:00
parent b9d84cb422
commit 3a67b3dec3
9 changed files with 26 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ HeliAction = function(heliActor, team)
Actor.AfterMove(heliActor)
Actor.UnloadCargo(heliActor, true)
Actor.Wait(heliActor, Utils.Seconds(2))
Actor.ScriptedMove(heliActor, NodHeliEntry)
Actor.ScriptedMove(heliActor, NodHeliEntry.Location)
Actor.RemoveSelf(heliActor)
Team.Do(team, function(actor)