mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPSGROUP
- mission nothing is cancelled if transport is due
This commit is contained in:
parent
dc0a2bccd6
commit
baa1dcbf8f
@ -7907,8 +7907,13 @@ function OPSGROUP:_CheckCargoTransport()
|
|||||||
self.cargoTZC=nil
|
self.cargoTZC=nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local mission=self:GetMissionCurrent()
|
||||||
|
if mission and mission.type==AUFTRAG.Type.NOTHING then
|
||||||
|
self:MissionCancel(mission)
|
||||||
|
end
|
||||||
|
|
||||||
-- Check if there is anything in the queue.
|
-- Check if there is anything in the queue.
|
||||||
if not self.cargoTransport and not self:IsOnMission() then
|
if not self.cargoTransport and not self:IsOnMission() then --(mission==nil or (mission and mission.type==AUFTRAG.Type.NOTHING)) then --not self:IsOnMission() then
|
||||||
self.cargoTransport=self:_GetNextCargoTransport()
|
self.cargoTransport=self:_GetNextCargoTransport()
|
||||||
if self.cargoTransport and not self:IsActive() then
|
if self.cargoTransport and not self:IsActive() then
|
||||||
self:Activate()
|
self:Activate()
|
||||||
|
|||||||
@ -1696,6 +1696,7 @@ do -- Cargo
|
|||||||
["tt_DSHK"] = 6,
|
["tt_DSHK"] = 6,
|
||||||
["HL_KORD"] = 6,
|
["HL_KORD"] = 6,
|
||||||
["HL_DSHK"] = 6,
|
["HL_DSHK"] = 6,
|
||||||
|
["CCKW_353"] = 16, --GMC CCKW 2½-ton 6×6 truck, estimating 16 soldiers
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Assuming that each passenger weighs 95 kg on average.
|
-- Assuming that each passenger weighs 95 kg on average.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user