Fix for respawning cargo (should not go dead).

This commit is contained in:
FlightControl 2018-09-12 19:08:46 +02:00
parent 9c9633ba23
commit a0ac366bec

View File

@ -138,7 +138,7 @@ do -- CARGO_GROUP
for CargoID, CargoData in pairs( self.CargoSet:GetSet() ) do
local Cargo = CargoData -- Cargo.Cargo#CARGO
Cargo:Destroy() -- Destroy the cargo and generate a remove unit event to update the sets.
Cargo:Destroy(false) -- Destroy the cargo and generate a remove unit event to update the sets.
Cargo:SetStartState( "UnLoaded" )
end