Fixed the remaining issues with APCs, Helicopter and Airplane cargo dispatchers.

This commit is contained in:
FlightControl
2018-09-19 05:14:09 +02:00
parent f655e7e652
commit 337e7eab53
5 changed files with 24 additions and 58 deletions

View File

@@ -269,7 +269,7 @@ end
-- @param #string Event Event.
-- @param #string To To state.
function AI_CARGO_APC:onafterMonitor( APC, From, Event, To )
self:F( { APC, From, Event, To } )
self:F( { APC, From, Event, To, IsTransporting = self:IsTransporting() } )
if self.CombatRadius > 0 then
if APC and APC:IsAlive() then