Update OpsGroup.lua

- Fix that loading is never done
This commit is contained in:
Frank 2023-09-20 14:38:24 +02:00
parent 7c3c39c1ba
commit 78ffaf6e0a

View File

@ -8123,7 +8123,7 @@ function OPSGROUP:_CheckCargoTransport()
for _,_cargo in pairs(self.cargoTZC.Cargos) do
local cargo=_cargo --Ops.OpsGroup#OPSGROUP.CargoGroup
if cargo.type==OPSTRANSPORT.CargoType.OPSTRANPORT then
if cargo.type==OPSTRANSPORT.CargoType.OPSGROUP then
-- Check if anyone is still boarding.
if cargo.opsgroup and cargo.opsgroup:IsBoarding(self.groupname) then