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

@@ -297,7 +297,7 @@ do -- CARGO_UNIT
if self:IsNear( CargoCarrier:GetPointVec2(), NearRadius ) then
self:__Load( 1, CargoCarrier, ... )
else
self:__Boarding( -5, CargoCarrier, NearRadius, ... )
self:__Boarding( -1, CargoCarrier, NearRadius, ... )
self.RunCount = self.RunCount + 1
if self.RunCount >= 40 then
self.RunCount = 0