When the deployzone is nil, the troops are deployed 60 meters in front
of the carrier.
This commit is contained in:
FlightControl 2017-05-15 13:05:19 +02:00
parent 4d52c0ce3e
commit 30d9f369f3

View File

@ -537,7 +537,11 @@ do -- TASK_CARGO
if self.Cargo:IsAlive() then
self.Cargo:MessageToGroup( "UnBoarding ...", TaskUnit:GetGroup() )
if DeployZone then
self.Cargo:UnBoard( DeployZone:GetPointVec2(), 400, self )
else
self.Cargo:UnBoard( TaskUnit:GetPointVec2():AddX(60), 400, self )
end
end
end