mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
bug fix
This commit is contained in:
parent
7ccdcb9385
commit
fe49fbb0a6
@ -466,7 +466,7 @@ self:T()
|
||||
local SpawnCargo = true
|
||||
|
||||
if self:IsStatusNone() then
|
||||
local CargoGroup = Group.getByName( self.CargoSpawn:SpawnGroupName() )
|
||||
local CargoGroup = Group.getByName( self.CargoName )
|
||||
if CargoGroup and CargoGroup:isExist() then
|
||||
SpawnCargo = false
|
||||
end
|
||||
@ -477,7 +477,7 @@ self:T()
|
||||
if Client and Client:ClientGroup() then
|
||||
SpawnCargo = false
|
||||
else
|
||||
local CargoGroup = Group.getByName( self.CargoSpawn:SpawnGroupName() )
|
||||
local CargoGroup = Group.getByName( self.CargoName )
|
||||
if CargoGroup and CargoGroup:isExist() then
|
||||
SpawnCargo = false
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user