diff --git a/Moose Development/Moose/Ops/CTLD.lua b/Moose Development/Moose/Ops/CTLD.lua index b2e85552e..9577a419a 100644 --- a/Moose Development/Moose/Ops/CTLD.lua +++ b/Moose Development/Moose/Ops/CTLD.lua @@ -5640,7 +5640,8 @@ end BASE:ScheduleOnce(0.5,PostSpawn,{self.DroppedTroops[self.TroopCounter],Structure}) end - if self.keeploadtables and TimeStamp then + if self.keeploadtable and TimeStamp ~= nil then + self:T2("Inserting: "..cargo.CargoType) local cargotype = cargo.CargoType table.insert(self.LoadedGroupsTable,{Group=self.DroppedTroops[self.TroopCounter], TimeStamp=TimeStamp, CargoType=cargotype}) end @@ -5787,7 +5788,8 @@ end BASE:ScheduleOnce(0.5,PostSpawn,{self.DroppedTroops[self.TroopCounter],Structure}) end - if self.keeploadtables and TimeStamp then + if self.keeploadtable and TimeStamp ~= nil then + self:T2("Inserting: "..cargo.CargoType) local cargotype = cargo.CargoType table.insert(self.LoadedGroupsTable,{Group=self.DroppedTroops[self.TroopCounter], TimeStamp=TimeStamp, CargoType=cargotype}) end @@ -6446,7 +6448,8 @@ end local StaticType = dataset[12] local StaticShape = dataset[13] n=n+1 - local timestamp = tonumber(dataset[14]) or timer.getTime()+n + local timestamp = tonumber(dataset[14]) or (timer.getTime()+n) + self:T2("TimeStamp = "..timestamp) if type(groupname) == "string" and groupname ~= "STATIC" then cargotemplates = string.gsub(cargotemplates,"{","") cargotemplates = string.gsub(cargotemplates,"}","")