mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Needed to test isExist or nothing was spawned.
This commit is contained in:
parent
6c456f20db
commit
7ccdcb9385
@ -467,7 +467,7 @@ self:T()
|
||||
|
||||
if self:IsStatusNone() then
|
||||
local CargoGroup = Group.getByName( self.CargoSpawn:SpawnGroupName() )
|
||||
if CargoGroup then
|
||||
if CargoGroup and CargoGroup:isExist() then
|
||||
SpawnCargo = false
|
||||
end
|
||||
|
||||
@ -478,7 +478,7 @@ self:T()
|
||||
SpawnCargo = false
|
||||
else
|
||||
local CargoGroup = Group.getByName( self.CargoSpawn:SpawnGroupName() )
|
||||
if CargoGroup then
|
||||
if CargoGroup and CargoGroup:isExist() then
|
||||
SpawnCargo = false
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user