Fix for shadowze on the cargo templates not correctly destroyed after being respawned. The original groups should be cleaned from the database.

This commit is contained in:
FlightControl
2018-09-08 14:14:31 +02:00
parent 703dac8251
commit a0e77c04e0
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ do -- CARGO_GROUP
local WeightGroup = 0
local VolumeGroup = 0
self.CargoGroup:Destroy()
self.CargoGroup:Destroy( true ) -- generate the crash events, so that the database gets cleaned, and the linked sets get properly cleaned.
local GroupName = CargoGroup:GetName()
self.CargoName = Name