Fix a crash in nod07b

This commit is contained in:
abcdefg30
2020-03-31 09:13:21 +02:00
committed by abcdefg30
parent a63c17baab
commit a456583a08

View File

@@ -100,7 +100,7 @@ SendWaves = function(counter, Waves)
end
SendReinforcementsWave = function(team)
Reinforcements.ReinforceWithTransport(GDI, "apc", GetCargo(team), { ReinforcementsGDISpawn.Location, waypoint12.Location}, nil, function(transport, passengers)
Reinforcements.ReinforceWithTransport(GDI, "apc", team.units, { ReinforcementsGDISpawn.Location, waypoint12.Location}, nil, function(transport, passengers)
MoveAndHunt(transport, team.waypoints)
transport.UnloadPassengers()
Trigger.OnPassengerExited(transport, function(_, passenger)