Pushing a fix for the cargo destroys after respawn.

This commit is contained in:
FlightControl
2018-09-13 18:00:48 +02:00
parent a0ac366bec
commit 80545fa208
3 changed files with 30 additions and 2 deletions

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(false) -- 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