Needed to test isExist or nothing was spawned.

This commit is contained in:
svenvandevelde 2016-02-26 23:10:40 +01:00
parent 6c456f20db
commit 7ccdcb9385

View File

@ -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