OK. fixed

This commit is contained in:
FlightControl
2017-07-02 12:55:29 +02:00
parent af230d9874
commit 1283caf80b
2 changed files with 8 additions and 3 deletions

View File

@@ -357,6 +357,7 @@ function CARGO:IsInZone( Zone )
if self:IsLoaded() then
return Zone:IsPointVec2InZone( self.CargoCarrier:GetPointVec2() )
else
self:F( { Size = self.CargoObject:GetSize(), Units = self.CargoObject:GetUnits() } )
if self.CargoObject:GetSize() ~= 0 then
return Zone:IsPointVec2InZone( self.CargoObject:GetPointVec2() )
else